diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 5 |
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 | ||
| 2942 | VFORK_RETURN_TYPE | ||
| 2938 | vfork () | 2943 | vfork () |
| 2939 | { | 2944 | { |
| 2940 | return (fork ()); | 2945 | return (fork ()); |