aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/socket/socket.cpp
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/socket.cpp
parent4f60801da0a0f94a69b80c8e1d9ab7dc4ce2f224 (diff)
Fix build issue on Haiku
Undeprecate it since it seems easy enough to support.
Diffstat (limited to 'src/lib/utils/socket/socket.cpp')
-rw-r--r--src/lib/utils/socket/socket.cpp1
1 files changed, 1 insertions, 0 deletions
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>