Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
cygwin: fix undefined _SC_PAGESIZE
Browse files Browse the repository at this point in the history
unistd.h was not included, when tried to build node 0.5.9 had an error of:
_SC_PAGESIZE undefined
  • Loading branch information
shimondoodkin authored and bnoordhuis committed Nov 20, 2011
1 parent 01fbe7b commit 1b9d00f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/cygwin.c
Expand Up @@ -24,6 +24,7 @@
#include <stdint.h>
#include <stddef.h>
#include <errno.h>
#include <unistd.h>
#include <time.h>

#undef NANOSEC
Expand Down

0 comments on commit 1b9d00f

Please sign in to comment.