summary refs log tree commit diff
path: root/include/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index f676cad415..0546fdd7a3 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,4 +1,5 @@
-#include <posix/unistd.h>
+#ifndef _UNISTD_H
+# include <posix/unistd.h>
 
 /* Now define the internal interfaces.  */
 extern int __access __P ((__const char *__name, int __type));
@@ -61,3 +62,4 @@ extern int __profil __P ((unsigned short int *__sample_buffer, size_t __size,
 			  size_t __offset, unsigned int __scale));
 extern int __getdtablesize __P ((void));
 extern int __brk __P ((__ptr_t __addr));
+#endif