]> granicus.if.org Git - icinga2/commitdiff
Make sure to #include <pthread_np.h> on FreeBSD.
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 21 Oct 2013 07:52:45 +0000 (09:52 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 21 Oct 2013 07:52:45 +0000 (09:52 +0200)
lib/base/utility.cpp

index 698f378d69279d31810cd4dae3322f224c04805f..b5b8636a231adea5aaf65aa5039ab5388421dcf1 100644 (file)
 #include <boost/algorithm/string/split.hpp>
 #include <boost/algorithm/string/classification.hpp>
 
+#ifdef __FreeBSD__
+#      include <pthread_np.h>
+#endif /* __FreeBSD__ */
+
 #if HAVE_GCC_ABI_DEMANGLE
 #      include <cxxabi.h>
 #endif /* HAVE_GCC_ABI_DEMANGLE */