aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/socket/uri.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/socket/uri.cpp')
-rw-r--r--src/lib/utils/socket/uri.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/utils/socket/uri.cpp b/src/lib/utils/socket/uri.cpp
index 05bd8647d..5653d97e7 100644
--- a/src/lib/utils/socket/uri.cpp
+++ b/src/lib/utils/socket/uri.cpp
@@ -11,6 +11,8 @@
#if defined(BOTAN_TARGET_OS_HAS_SOCKETS)
#include <arpa/inet.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
#elif defined(BOTAN_TARGET_OS_HAS_WINSOCK2)
#include <ws2tcpip.h>
#endif