Skip to content

Commit

Permalink
src: add fcntl.h include to node.cc
Browse files Browse the repository at this point in the history
#11863 adds _O_RDWR to node.cc
which is defined in fcntl.h. This adds this include directly to
node.cc.

PR-URL: #12540
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
  • Loading branch information
bzoz authored and evanlucas committed Apr 25, 2017
1 parent 7329cec commit c02e12b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
#endif

#include <errno.h>
#include <fcntl.h>. // _O_RDWR
#include <limits.h> // PATH_MAX
#include <locale.h>
#include <signal.h>
Expand Down

0 comments on commit c02e12b

Please sign in to comment.