summaryrefslogtreecommitdiffstats
path: root/innbbsd/connectsock.c
diff options
context:
space:
mode:
Diffstat (limited to 'innbbsd/connectsock.c')
-rw-r--r--innbbsd/connectsock.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/innbbsd/connectsock.c b/innbbsd/connectsock.c
index 4b9382b5..5e526715 100644
--- a/innbbsd/connectsock.c
+++ b/innbbsd/connectsock.c
@@ -4,7 +4,10 @@
#include "daemon.h"
#include <signal.h>
#include <setjmp.h>
-
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include "externs.h"
static jmp_buf timebuf;
static void
@@ -34,7 +37,7 @@ dokill(s)
static int INETDstart = 0;
void
-startfrominetd(flag)
+startfrominetd(int flag)
{
INETDstart = flag;
}
@@ -54,11 +57,11 @@ standalonesetup(fd)
}
static char *UNIX_SERVER_PATH;
-static int (*halt) ();
+static int (*halt) (int);
void
sethaltfunction(haltfunc)
- int (*haltfunc) ();
+ int (*haltfunc) (int);
{
halt = haltfunc;
}