Include sys/socket.h when available
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 7 Nov 2005 22:46:42 +0000 (22:46 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 7 Nov 2005 22:46:42 +0000 (22:46 +0000)
src/thread_pool_observer.cpp

index 0714770..9c7dfda 100644 (file)
@@ -1,5 +1,5 @@
 
-/* $Id: thread_pool_observer.cpp,v 1.12 2005-11-07 22:43:17 adam Exp $
+/* $Id: thread_pool_observer.cpp,v 1.13 2005-11-07 22:46:42 adam Exp $
    Copyright (c) 2005, Index Data.
 
 %LICENSE%
 #include <winsock.h>
 #endif
 
+#if HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
 #include <boost/thread/thread.hpp>
 #include <boost/thread/mutex.hpp>
 #include <boost/thread/condition.hpp>