diff options
author | Luke Leighton <lkcl@samba.org> | 1999-12-08 22:57:34 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-12-08 22:57:34 +0000 |
commit | 6281c5d7a94d8f5bfec835aa147e7aa8bab15bb2 (patch) | |
tree | 90acda842b0ffc11c8c978fd14bc3e3219c723f4 /source3/include | |
parent | 6b22909bdefda362a7c45ec3780ce04e15a64c24 (diff) | |
download | samba-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')
-rw-r--r-- | source3/include/config.h.in | 3 | ||||
-rw-r--r-- | source3/include/includes.h | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in index 81fe46d4d8..5f0f4526d8 100644 --- a/source3/include/config.h.in +++ b/source3/include/config.h.in @@ -755,6 +755,9 @@ /* Define if you have the <sys/select.h> header file. */ #undef HAVE_SYS_SELECT_H +/* Define if you have the <sys/un.h> header file. */ +#undef HAVE_SYS_UN_H + /* Define if you have the <sys/socket.h> header file. */ #undef HAVE_SYS_SOCKET_H 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 |