]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Moved the sys/select.h include out of Dispatcher.c++ into Dispatcher.h
authorRobert Colquhoun <rjc@trump.net.au>
Sun, 5 Mar 2000 05:54:54 +0000 (05:54 +0000)
committerRobert Colquhoun <rjc@trump.net.au>
Sun, 5 Mar 2000 05:54:54 +0000 (05:54 +0000)
to ensure that fd_set is properly defined in the header file.

util/Dispatcher.c++
util/Dispatcher.h

index 323a9eceee0ca5421953f33cd26b5f8f3fcc9660..bc206ec9511e246f4e9f4bbcbd14b88f88b987be 100644 (file)
@@ -28,9 +28,6 @@
 
 #include <errno.h>
 #include <sys/param.h>
-#if HAS_SELECT_H
-#include <sys/select.h>
-#endif
 extern "C" {
 #include <sys/time.h>
 }
index 225fa26e60ae1e32702c9c787f96a65b4aa729f2..a8a29878acfee85fcd676bcad5a017e3beb8ac9d 100644 (file)
 #ifndef dp_dispatcher_h
 #define dp_dispatcher_h
 
+#ifdef HAS_SELECT_H
+#include <sys/select.h>
+#endif
+
 #include "Types.h"
 
 class IOHandler;