aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/manual/deprecated.rst2
-rw-r--r--src/build-data/os/haiku.txt2
-rw-r--r--src/lib/utils/socket/info.txt1
-rw-r--r--src/lib/utils/socket/socket.cpp1
4 files changed, 5 insertions, 1 deletions
diff --git a/doc/manual/deprecated.rst b/doc/manual/deprecated.rst
index ff3db83f8..cb2a76d01 100644
--- a/doc/manual/deprecated.rst
+++ b/doc/manual/deprecated.rst
@@ -34,7 +34,7 @@ in the source.
classes which currently subclass it. This only affects your code if you
are referencing `Botan::SymmetricAlgorithm` directly.
-- Platform support for BeOS and NaCl (Native Client)
+- Platform support for Google Native Client
- Support for PathScale and HP compilers
diff --git a/src/build-data/os/haiku.txt b/src/build-data/os/haiku.txt
index c9033ff14..2fdb75930 100644
--- a/src/build-data/os/haiku.txt
+++ b/src/build-data/os/haiku.txt
@@ -7,7 +7,9 @@ lib_dir system/lib
doc_dir system/documentation
<target_features>
+readdir
gmtime_r
+sockets
threads
filesystem
</target_features>
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>