aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils
diff options
context:
space:
mode:
authorDavid Carlier <[email protected]>2019-10-24 08:47:17 +0000
committerDavid Carlier <[email protected]>2019-10-24 08:47:17 +0000
commit88ab18f5e5db005d7c16ed2ddc14af4e8ce7b40d (patch)
treebc6de0c219ebcb6aa5e5071e1ace081deddcdcef /src/lib/utils
parent943beb5045ba73be9aec4f6f9b26a5283e3e2a34 (diff)
FreeBSD build fix.
Diffstat (limited to 'src/lib/utils')
-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