aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rand.c2
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"