From: Randal L. Schwartz Date: Tue, 25 Oct 2005 23:29:09 +0000 (-0700) Subject: fix daemon.c to compile on OpenBSD X-Git-Tag: v0.99.9~47 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=979e32fa1483a32faa4ec331e29b357e5eb5ef25;p=git.git 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 --- diff --git a/daemon.c b/daemon.c index 0c6182fb..c3f86410 100644 --- a/daemon.c +++ b/daemon.c @@ -1,5 +1,3 @@ -#include "cache.h" -#include "pkt-line.h" #include #include #include @@ -9,6 +7,8 @@ #include #include #include +#include "pkt-line.h" +#include "cache.h" static int log_syslog; static int verbose;