aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/socket
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-23 12:31:13 -0500
committerJack Lloyd <[email protected]>2017-12-23 12:31:13 -0500
commit666cee04c7b98a40ceb421685db30c41337dfe77 (patch)
tree314cc15fbe8e8a8d3a6ea866f93c07df42cd89b9 /src/lib/utils/socket
parent4f60801da0a0f94a69b80c8e1d9ab7dc4ce2f224 (diff)
Fix build issue on Haiku
Undeprecate it since it seems easy enough to support.
Diffstat (limited to 'src/lib/utils/socket')
-rw-r--r--src/lib/utils/socket/info.txt1
-rw-r--r--src/lib/utils/socket/socket.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/utils/socket/info.txt b/src/lib/utils/socket/info.txt
index ef0d939ea..a19013597 100644
--- a/src/lib/utils/socket/info.txt
+++ b/src/lib/utils/socket/info.txt
@@ -10,4 +10,5 @@ socket.h
linux -> rt
mingw -> ws2_32
windows -> ws2_32.lib
+haiku -> network
</libs>
diff --git a/src/lib/utils/socket/socket.cpp b/src/lib/utils/socket/socket.cpp
index e7ed7e7e5..be646269b 100644
--- a/src/lib/utils/socket/socket.cpp
+++ b/src/lib/utils/socket/socket.cpp
@@ -22,6 +22,7 @@
#elif defined(BOTAN_TARGET_OS_TYPE_IS_UNIX)
#include <sys/socket.h>
+ #include <sys/time.h>
#include <netinet/in.h>
#include <netdb.h>
#include <string.h>