Skip to content

Commit

Permalink
Merge pull request #78 from Y--/master
Browse files Browse the repository at this point in the history
"util.h" in node/src is already present in Node 0.10.28 at least
  • Loading branch information
chjj committed Jul 31, 2014
2 parents 100c105 + 61acd15 commit 18238d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unix/pty.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
#include <pty.h>
#elif defined(__APPLE__) || defined(__OpenBSD__) || defined(__NetBSD__)
/**
* From node v0.11.0 there is also a "util.h" in node/src, which would confuse
* From node v0.10.28 (at least?) there is also a "util.h" in node/src, which would confuse
* the compiler when looking for "util.h".
*/
#if NODE_VERSION_AT_LEAST(0, 11, 0)
#if NODE_VERSION_AT_LEAST(0, 10, 28)
#include </usr/include/util.h>
#else
#include <util.h>
Expand Down

0 comments on commit 18238d3

Please sign in to comment.