diff options
author | Sergii Pylypenko <x.pelya.x@gmail.com> | 2017-02-23 22:07:04 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-02-23 22:44:16 +0100 |
commit | 53ab183c1a530391b6012e0171600bc69ec58170 (patch) | |
tree | dacf3a7c2b5e124373e4a82b7891d1a670b4977c | |
parent | ed74c6442d8f46cae448e8b90130d006eb6169f5 (diff) |
rand: added missing #ifdef HAVE_FCNTL_H around fcntl.h header
Closes #1285
-rw-r--r-- | lib/rand.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rand.c b/lib/rand.c index a51951cea..4da37b9dc 100644 --- a/lib/rand.c +++ b/lib/rand.c @@ -22,7 +22,9 @@ #include "curl_setup.h" +#ifdef HAVE_FCNTL_H #include <fcntl.h> +#endif #include <curl/curl.h> #include "vtls/vtls.h" |