Skip to content

Commit

Permalink
fix daemon.c to compile on OpenBSD
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randal L. Schwartz authored and Junio C Hamano committed Oct 26, 2005
1 parent af2d3aa commit 979e32f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daemon.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#include "cache.h"
#include "pkt-line.h"
#include <signal.h>
#include <sys/wait.h>
#include <sys/socket.h>
Expand All @@ -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;
Expand Down

0 comments on commit 979e32f

Please sign in to comment.