@@ -18,11 +18,13 @@ #include #include #include -#include +#ifdef HAVE_FCNTL_H +# include +#endif #import "OFUDPSocket.h" #ifdef OF_HAVE_THREADS # import "OFThread.h" #endif