зеркало из https://github.com/microsoft/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 <junkio@cox.net>
This commit is contained in:
Родитель
af2d3aa4d8
Коммит
979e32fa14
4
daemon.c
4
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче