aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 742582d5382..41bbd92c43d 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -191,6 +191,10 @@ struct utimbuf {
191#endif 191#endif
192#endif 192#endif
193 193
194#ifndef VFORK_RETURN_TYPE
195#define VFORK_RETURN_TYPE int
196#endif
197
194/* LPASS8 is new in 4.3, and makes cbreak mode provide all 8 bits. */ 198/* LPASS8 is new in 4.3, and makes cbreak mode provide all 8 bits. */
195#ifndef LPASS8 199#ifndef LPASS8
196#define LPASS8 0 200#define LPASS8 0
@@ -2935,6 +2939,7 @@ sys_write (fildes, buf, nbyte)
2935 * Substitute fork for vfork on USG flavors. 2939 * Substitute fork for vfork on USG flavors.
2936 */ 2940 */
2937 2941
2942VFORK_RETURN_TYPE
2938vfork () 2943vfork ()
2939{ 2944{
2940 return (fork ()); 2945 return (fork ());