summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-12-08 22:57:34 +0000
committerLuke Leighton <lkcl@samba.org>1999-12-08 22:57:34 +0000
commit6281c5d7a94d8f5bfec835aa147e7aa8bab15bb2 (patch)
tree90acda842b0ffc11c8c978fd14bc3e3219c723f4 /source3/include/includes.h
parent6b22909bdefda362a7c45ec3780ce04e15a64c24 (diff)
downloadsamba-6281c5d7a94d8f5bfec835aa147e7aa8bab15bb2.tar.gz
samba-6281c5d7a94d8f5bfec835aa147e7aa8bab15bb2.tar.bz2
samba-6281c5d7a94d8f5bfec835aa147e7aa8bab15bb2.zip
moved sys/un.h to after sys/socket.h. done a gnu autoconf around sys/un.h
(This used to be commit b2ea37a8f1a28a825719b46354a1244b359aca2c)
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 1379494ecb..ee3989d028 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -55,7 +55,6 @@
#endif
-#include <sys/un.h>
#include <sys/types.h>
#ifdef TIME_WITH_SYS_TIME
@@ -97,6 +96,10 @@
#include <sys/socket.h>
#endif
+#ifdef HAVE_SYS_UN_H
+#include <sys/un.h>
+#endif
+
#ifdef HAVE_SYS_SYSCALL_H
#include <sys/syscall.h>
#elif HAVE_SYSCALL_H