]> arthur.barton.de Git - netatalk.git/commitdiff
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 eb7f796e19ca366fb09f7d8b2dfd15ad443e34af..124db47a251af34771a60271ad3b813d1044d569 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);
 }