aboutsummaryrefslogtreecommitdiff
path: root/daemon.c
diff options
context:
space:
mode:
authorRandal L. Schwartz <merlyn@stonehenge.com>2005-10-25 16:29:09 -0700
committerJunio C Hamano <junkio@cox.net>2005-10-25 17:37:59 -0700
commit979e32fa1483a32faa4ec331e29b357e5eb5ef25 (patch)
tree6c600a8ffa79242d7b16eea9065182770ea7cb30 /daemon.c
parentaf2d3aa4d84fd3475d9b676f669eab3c4227189f (diff)
downloadgit-979e32fa1483a32faa4ec331e29b357e5eb5ef25.tar.gz
git-979e32fa1483a32faa4ec331e29b357e5eb5ef25.tar.xz
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>
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon.c b/daemon.c
index 0c6182fb9..c3f86410d 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;