diff options
author | David Carlier <[email protected]> | 2019-10-24 08:47:17 +0000 |
---|---|---|
committer | David Carlier <[email protected]> | 2019-10-24 08:47:17 +0000 |
commit | 88ab18f5e5db005d7c16ed2ddc14af4e8ce7b40d (patch) | |
tree | bc6de0c219ebcb6aa5e5071e1ace081deddcdcef | |
parent | 943beb5045ba73be9aec4f6f9b26a5283e3e2a34 (diff) |
FreeBSD build fix.
-rw-r--r-- | src/lib/utils/socket/uri.cpp | 2 |
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 |