rand: added missing #ifdef HAVE_FCNTL_H around fcntl.h header

Closes #1285
This commit is contained in:
Sergii Pylypenko 2017-02-23 22:07:04 +02:00 committed by Daniel Stenberg
parent ed74c6442d
commit 53ab183c1a
1 changed files with 2 additions and 0 deletions

View File

@ -22,7 +22,9 @@
#include "curl_setup.h"
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
#include <curl/curl.h>
#include "vtls/vtls.h"