aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-06-14 12:52:21 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-06-14 12:52:21 +0000
commit094b6a8b6ae834e9bfbc285bc9a407babb1b31d4 (patch)
treebf805d684e1d5879dc4668f00f988b63f6b69d24 /src
parent5da5cfa33e69632972cfa11e9b367d52597f9b43 (diff)
Added #include <fcntl.h> required by the setmode() for win32
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 157c867b7..80d977ea4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -76,6 +76,10 @@
#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 */