diff options
Diffstat (limited to '')
-rw-r--r-- | src/os_compat.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/os_compat.h b/src/os_compat.h index 6409053c7..97ab02a2a 100644 --- a/src/os_compat.h +++ b/src/os_compat.h @@ -64,7 +64,6 @@ #include <netdb.h> #include <netinet/in.h> #include <arpa/inet.h> -#include <sys/un.h> #include <pwd.h> #include <grp.h> #include <limits.h> @@ -75,4 +74,8 @@ #include <sys/ipc.h> #include <sys/shm.h> +#ifdef HAVE_UN +#include <sys/un.h> +#endif + #endif /* OS_COMPAT_H */ |