about summary refs log tree commit diff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-08-12 17:03:37 +0000
committerUlrich Drepper <drepper@redhat.com>1998-08-12 17:03:37 +0000
commitf001ded037094ee2527d7b532b66dc20fb9eae88 (patch)
tree7ef5b1c33ff9ee691b8c90da3a6a2ec0425a1561 /include/unistd.h
parent259d930a0c04ad15e05081d191bff245830d164a (diff)
downloadglibc-f001ded037094ee2527d7b532b66dc20fb9eae88.tar.gz
glibc-f001ded037094ee2527d7b532b66dc20fb9eae88.tar.xz
glibc-f001ded037094ee2527d7b532b66dc20fb9eae88.zip
Protect against multiple inclusion.
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