@@ -23,11 +23,13 @@ #include #include #include #include -#include +#ifdef HAVE_FCNTL_H +# include +#endif #import "OFTCPSocket.h" #import "OFTCPSocket+SOCKS5.h" #import "OFString.h" #import "OFThread.h"