From 53ab183c1a530391b6012e0171600bc69ec58170 Mon Sep 17 00:00:00 2001 From: Sergii Pylypenko Date: Thu, 23 Feb 2017 22:07:04 +0200 Subject: [PATCH] rand: added missing #ifdef HAVE_FCNTL_H around fcntl.h header Closes #1285 --- lib/rand.c | 2 ++ 1 file changed, 2 insertions(+) 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 +#endif #include #include "vtls/vtls.h"