From: Sergii Pylypenko Date: Thu, 23 Feb 2017 20:07:04 +0000 (+0200) Subject: rand: added missing #ifdef HAVE_FCNTL_H around fcntl.h header X-Git-Tag: curl-7_53_1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53ab183c1a530391b6012e0171600bc69ec58170;p=thirdparty%2Fcurl.git rand: added missing #ifdef HAVE_FCNTL_H around fcntl.h header Closes #1285 --- diff --git a/lib/rand.c b/lib/rand.c index a51951ceaf..4da37b9dc4 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"