aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s/freebsd.h4
-rw-r--r--src/s/netbsd.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index 772a760900b..9a32b9bf57d 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -88,3 +88,7 @@
88#include <sys/wait.h> 88#include <sys/wait.h>
89#endif 89#endif
90#define WRETCODE(w) (_W_INT(w) >> 8) 90#define WRETCODE(w) (_W_INT(w) >> 8)
91
92/* Needed to avoid hanging when child process writes an error message
93 and exits -- enami tsugutomo <enami@ba2.so-net.or.jp>. */
94#define vfork fork
diff --git a/src/s/netbsd.h b/src/s/netbsd.h
index b6535665724..4ca4b4d6885 100644
--- a/src/s/netbsd.h
+++ b/src/s/netbsd.h
@@ -61,3 +61,7 @@
61#define NO_MATHERR 61#define NO_MATHERR
62 62
63#define AMPERSAND_FULL_NAME 63#define AMPERSAND_FULL_NAME
64
65/* Needed to avoid hanging when child process writes an error message
66 and exits -- enami tsugutomo <enami@ba2.so-net.or.jp>. */
67#define vfork fork