fce: afpd: missing includes and fix SIGCLD handler argument list
authorRalph Boehme <rb@sernet.de>
Mon, 21 Jul 2014 15:28:10 +0000 (17:28 +0200)
committerRalph Boehme <rb@sernet.de>
Mon, 21 Jul 2014 15:28:10 +0000 (17:28 +0200)
Signed-off-by: Ralph Boehme <rb@sernet.de>
etc/afpd/afp_dsi.c

index eb7f796..124db47 100644 (file)
@@ -28,6 +28,8 @@
 #include <arpa/inet.h>
 #include <setjmp.h>
 #include <time.h>
+#include <sys/types.h>
+#include <sys/wait.h>
 
 #include <atalk/logger.h>
 #include <atalk/dsi.h>
@@ -337,7 +339,7 @@ static void alarm_handler(int sig _U_)
     }
 }
 
-static void child_handler(void)
+static void child_handler(int sig _U_)
 {
     wait(NULL);
 }