summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--system.h5
2 files changed, 1 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index a81e6fc70..d66c84fed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -379,7 +379,7 @@ AC_CHECK_HEADERS(locale.h)
AC_CHECK_HEADERS(limits.h)
AC_CHECK_HEADERS(fcntl.h getopt.h memory.h netdb.h pwd.h utime.h)
-AC_CHECK_HEADERS(sys/ipc.h sys/socket.h sys/select.h)
+AC_CHECK_HEADERS(sys/ipc.h sys/select.h)
AC_CHECK_HEADERS(sys/types.h sys/stdtypes.h)
AC_CHECK_HEADERS(sys/mman.h sys/utsname.h sys/wait.h)
diff --git a/system.h b/system.h
index 7c7d40329..25573b9d8 100644
--- a/system.h
+++ b/system.h
@@ -304,11 +304,6 @@ extern int setenv(const char *name, const char *value, int replace);
extern void unsetenv(const char *name);
#endif
-#if HAVE_SYS_SOCKET_H
-#include <sys/types.h>
-#include <sys/socket.h>
-#endif
-
#if HAVE_POLL_H
#include <poll.h>
#else