diff -Naur boost/config/platform/haiku.hpp boost1/config/platform/haiku.hpp
--- boost/config/platform/haiku.hpp	1970-01-01 05:00:00.000000000 +0500
+++ boost1/config/platform/haiku.hpp	2014-07-08 14:09:01.994574336 +0600
@@ -0,0 +1,24 @@
+//  (C) Copyright John Maddock 2001. 
+//  Use, modification and distribution are subject to the 
+//  Boost Software License, Version 1.0. (See accompanying file 
+//  LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
+
+//  See https://www.boost.org for most recent version.
+	
+//  Haiku specific config options:
+
+#define BOOST_PLATFORM "Haiku"
+
+#define BOOST_HAS_UNISTD_H
+	
+#ifndef BOOST_DISABLE_THREADS
+#   define BOOST_HAS_THREADS
+#endif
+
+//
+// thread API's not auto detected:
+//
+#define BOOST_HAS_GETTIMEOFDAY
+
+// boilerplate code:
+#include <boost/config/posix_features.hpp>
diff -Naur boost/config/select_platform_config.hpp boost1/config/select_platform_config.hpp
--- boost/config/select_platform_config.hpp	2012-04-06 21:23:50.057409536 +0600
+++ boost1/config/select_platform_config.hpp	2014-07-08 11:03:14.967311360 +0600
@@ -41,6 +41,10 @@
 // win32:
 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/win32.hpp"
 
+#elif defined(__HAIKU__)
+// Haiku
+#  define BOOST_PLATFORM_CONFIG "boost/config/platform/haiku.hpp"
+
 #elif defined(__BEOS__)
 // BeOS
 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/beos.hpp"
