summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/replace/libreplace_network.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/replace/libreplace_network.m4 b/lib/replace/libreplace_network.m4
index 30be30f4ab..78fb1abaf0 100644
--- a/lib/replace/libreplace_network.m4
+++ b/lib/replace/libreplace_network.m4
@@ -353,6 +353,7 @@ AC_CACHE_CHECK([for ipv6 support],libreplace_cv_HAVE_IPV6,[
#include <sys/socket.h>
#include <sys/types.h>
#include <netdb.h>
+#include <netinet/in.h>
],
[
struct sockaddr_storage sa_store;