summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/include/unistd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/include/unistd.h b/lib/libc/include/unistd.h
index ebc9ff6..97ef565 100644
--- a/lib/libc/include/unistd.h
+++ b/lib/libc/include/unistd.h
@@ -31,8 +31,13 @@
#define _UNISTD_H
#include <sys/types.h>
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
ssize_t read(int fd, void *buf, size_t count);
int close(int fd);
+__END_DECLS
+
#endif /* !_UNISTD_H */