]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Added #include <fcntl.h> required by the setmode() for win32
authorDaniel Stenberg <daniel@haxx.se>
Wed, 14 Jun 2000 12:52:21 +0000 (12:52 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 14 Jun 2000 12:52:21 +0000 (12:52 +0000)
src/main.c

index 157c867b747dbf1d167f0d2494a243281f11d41d..80d977ea489e31a079aa41f6f7d080073753711d 100644 (file)
 #include <unistd.h>
 #endif
 
+#ifdef HAVE_FCNTL_H
+#include <fcntl.h>
+#endif
+
 /* Just a set of bits */
 #define CONF_DEFAULT  0
 #define CONF_VERBOSE  (1<<5) /* talk a lot */