diff options
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r-- | source3/include/includes.h | 5 |
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 |