OSDN Git Service

include netinet/in header where required
authorIvailo Monev <xakepa10@gmail.com>
Sun, 27 Feb 2022 22:52:12 +0000 (00:52 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Sun, 27 Feb 2022 22:52:12 +0000 (00:52 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/network/kernel/qhostaddress.cpp
src/network/kernel/qhostinfo_unix.cpp

index 379baae..ef4edb7 100644 (file)
@@ -32,6 +32,7 @@
 #endif
 
 #include <arpa/inet.h>
+#include <netinet/in.h>
 
 QT_BEGIN_NAMESPACE
 
index cc75980..7b15a7c 100644 (file)
@@ -34,6 +34,7 @@
 #include <sys/types.h>
 #include <netdb.h>
 #include <arpa/inet.h>
+#include <netinet/in.h>
 
 QT_BEGIN_NAMESPACE