diff options
Diffstat (limited to 'realrcptto.c')
| -rw-r--r-- | realrcptto.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/realrcptto.c b/realrcptto.c index 7ec331a..98dc6e6 100644 --- a/realrcptto.c +++ b/realrcptto.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #include <sys/types.h> | 1 | #include <sys/types.h> |
| 2 | #include <sys/stat.h> | 2 | #include <sys/stat.h> |
| 3 | #include <unistd.h> | 3 | #include <stdlib.h> |
| 4 | #include <pwd.h> | 4 | #include <pwd.h> |
| 5 | #include "auto_break.h" | 5 | #include "auto_break.h" |
| 6 | #include "auto_usera.h" | 6 | #include "auto_usera.h" |
| @@ -17,6 +17,7 @@ | |||
| 17 | #include "substdio.h" | 17 | #include "substdio.h" |
| 18 | #include "env.h" | 18 | #include "env.h" |
| 19 | #include "slurpclose.h" | 19 | #include "slurpclose.h" |
| 20 | #include "readwrite.h" | ||
| 20 | 21 | ||
| 21 | extern void die_nomem(); | 22 | extern void die_nomem(); |
| 22 | extern void die_control(); | 23 | extern void die_control(); |
| @@ -37,7 +38,7 @@ static char *local; | |||
| 37 | static struct passwd *pw; | 38 | static struct passwd *pw; |
| 38 | 39 | ||
| 39 | static char errbuf[128]; | 40 | static char errbuf[128]; |
| 40 | static struct substdio sserr = SUBSTDIO_FDBUF(write,2,errbuf,sizeof errbuf); | 41 | static substdio sserr = SUBSTDIO_FDBUF(write,2,errbuf,sizeof errbuf); |
| 41 | 42 | ||
| 42 | static char pidbuf[64]; | 43 | static char pidbuf[64]; |
| 43 | static char remoteipbuf[64]=" "; | 44 | static char remoteipbuf[64]=" "; |
