fix daemon.c to compile on OpenBSD
I can confirm that the following patch lets the current origin compile on OpenBSD. If you could apply this until you sort out the rest of the namespace issue, I would be happy. Thanks. Signed-off-by: Junio C Hamano <junkio@cox.net>
Randal L. Schwartz committed
Oct 25, 2005 at 16:29 UTC
979e32fa1483a32faa4ec331e29b357e5eb5ef25
1 file changed
+2
-2
daemon.c
+2
-2
@@ -1,5 +1,3 @@
1
-#include "cache.h"
2
-#include "pkt-line.h"
1
#include <signal.h>
2
#include <sys/wait.h>
3
#include <sys/socket.h>
@@ -9,6 +7,8 @@
7
#include <netinet/in.h>
8
#include <arpa/inet.h>
9
#include <syslog.h>
10
+#include "pkt-line.h"
11
+#include "cache.h"
12
13
static int log_syslog;
14
static int verbose;