Browse Source

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>
maint
Randal L. Schwartz 19 years ago committed by Junio C Hamano
parent
commit
979e32fa14
  1. 4
      daemon.c

4
daemon.c

@ -1,5 +1,3 @@ @@ -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 @@ @@ -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;

Loading…
Cancel
Save