aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys.c')
-rw-r--r--src/sys.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/sys.c b/src/sys.c
index 8d89524..ba946a1 100644
--- a/src/sys.c
+++ b/src/sys.c
@@ -2,13 +2,7 @@
#include <libgen.h>
#include <linux/limits.h>
#include <stdlib.h>
-#include "std.h"
-
-// TODO: #inclue some header.
-#ifndef __ducc__
-typedef long ssize_t;
-#endif
-ssize_t readlink(const char*, char*, size_t);
+#include <unistd.h>
static char* get_self_path() {
char* buf = calloc(PATH_MAX, sizeof(char));