aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-10-24 11:44:23 -0400
committerJack Lloyd <[email protected]>2019-10-24 11:44:23 -0400
commit49ef34f785a553ccff131dda939a537ca3e92a37 (patch)
treebdb7be3c6f45d50072bd46e243bb6a1a8bc586a1 /src
parentb2012fd75438de033fcbd10b60ea8cec5f71eab5 (diff)
parent88ab18f5e5db005d7c16ed2ddc14af4e8ce7b40d (diff)
Merge GH #2178 FreeBSD build fix
Diffstat (limited to 'src')
-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