diff options
-rw-r--r-- | lib/replace/libreplace_network.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/libreplace_network.m4 b/lib/replace/libreplace_network.m4 index a87320f841..3bac72d136 100644 --- a/lib/replace/libreplace_network.m4 +++ b/lib/replace/libreplace_network.m4 @@ -9,6 +9,7 @@ LIBREPLACE_NETWORK_LIBS="" AC_CHECK_HEADERS(sys/socket.h netinet/in.h netdb.h arpa/inet.h) AC_CHECK_HEADERS(netinet/in_systm.h) AC_CHECK_HEADERS([netinet/ip.h], [], [],[ + #include <sys/types.h> #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif |