summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandal L. Schwartz <merlyn@stonehenge.com>2005-10-25 23:29:09 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-10-26 00:37:59 (GMT)
commit979e32fa1483a32faa4ec331e29b357e5eb5ef25 (patch)
tree6c600a8ffa79242d7b16eea9065182770ea7cb30
parentaf2d3aa4d84fd3475d9b676f669eab3c4227189f (diff)
downloadgit-979e32fa1483a32faa4ec331e29b357e5eb5ef25.zip
git-979e32fa1483a32faa4ec331e29b357e5eb5ef25.tar.gz
git-979e32fa1483a32faa4ec331e29b357e5eb5ef25.tar.bz2
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>
-rw-r--r--daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon.c b/daemon.c
index 0c6182f..c3f8641 100644
--- a/daemon.c
+++ b/daemon.c
@@ -1,5 +1,3 @@
-#include "cache.h"
-#include "pkt-line.h"
#include <signal.h>
#include <sys/wait.h>
#include <sys/socket.h>
@@ -9,6 +7,8 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <syslog.h>
+#include "pkt-line.h"
+#include "cache.h"
static int log_syslog;
static int verbose;