Fix child_process.cc build failure for FreeBSD.
authorHerbert Vojčík <herby@mailbox.sk>
Wed, 28 Apr 2010 21:21:58 +0000 (23:21 +0200)
committerRyan Dahl <ry@tinyclouds.org>
Wed, 28 Apr 2010 21:21:52 +0000 (14:21 -0700)
src/node_child_process.cc

index f490417..6c84514 100644 (file)
@@ -9,6 +9,9 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/types.h>
+#ifdef __FreeBSD__
+#include <sys/wait.h>
+#endif
 
 extern char **environ;