summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-11-11 01:20:50 +0000
committerEric Andersen <andersen@codepoet.org>2000-11-11 01:20:50 +0000
commitdc7f2e1bf0dc6ab6bec1d531026fb39271287711 (patch)
tree4d665da55e40f6a14cd992e67b3ecbd5cd783e86 /include/unistd.h
parent91102e0dece0d33acf56a579dcab84b043f08c8b (diff)
downloaduClibc-alpine-dc7f2e1bf0dc6ab6bec1d531026fb39271287711.tar.bz2
uClibc-alpine-dc7f2e1bf0dc6ab6bec1d531026fb39271287711.tar.xz
Fix up a few messes so it compiles cleanly again.
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index a9f9e4179..8da0ffe90 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -23,7 +23,10 @@
#ifndef _UNISTD_H
#define _UNISTD_H 1
+#include <errno.h>
#include <features.h>
+#include <sys/types.h>
+#include <asm/unistd.h>
__BEGIN_DECLS
@@ -173,6 +176,8 @@ __BEGIN_DECLS
*/
#include <bits/posix_opt.h>
+/* At this time, we don't do pthreads... Sorry... */
+#undef _POSIX_THREADS
/* Get the environment definitions from Unix98. */
#ifdef __USE_UNIX98