aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys.c')
-rw-r--r--src/sys.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sys.c b/src/sys.c
index a4a531c..67a3c41 100644
--- a/src/sys.c
+++ b/src/sys.c
@@ -1,8 +1,11 @@
#include "sys.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);
static char* get_self_path() {