Skip to content

Commit

Permalink
rand: added missing #ifdef HAVE_FCNTL_H around fcntl.h header
Browse files Browse the repository at this point in the history
Closes #1285
  • Loading branch information
pelya authored and bagder committed Feb 23, 2017
1 parent ed74c64 commit 53ab183
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/rand.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@

#include "curl_setup.h"

#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif

#include <curl/curl.h>
#include "vtls/vtls.h"
Expand Down

0 comments on commit 53ab183

Please sign in to comment.