summaryrefslogtreecommitdiff
path: root/daemon.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-03-25 20:45:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-03-25 20:45:42 (GMT)
commit2b0dda53189d3829e58187ee91143b35036573fb (patch)
tree2e6b96c1cc8ea35562ec4edaa38f0a1b05e6d4a3 /daemon.c
parent402c2a7ea158eb43015e9c6a517be95c8e35192e (diff)
parent3b130ade45c70af63c7692387b65f161770a8ccc (diff)
downloadgit-2b0dda53189d3829e58187ee91143b35036573fb.zip
git-2b0dda53189d3829e58187ee91143b35036573fb.tar.gz
git-2b0dda53189d3829e58187ee91143b35036573fb.tar.bz2
Merge branch 'dm/ni-maxhost-may-be-missing' into maint-1.8.1
Some sources failed to compile on systems that lack NI_MAXHOST in their system header. * dm/ni-maxhost-may-be-missing: git-compat-util.h: Provide missing netdb.h definitions
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/daemon.c b/daemon.c
index 4602b46..df8c0ab 100644
--- a/daemon.c
+++ b/daemon.c
@@ -9,10 +9,6 @@
#define HOST_NAME_MAX 256
#endif
-#ifndef NI_MAXSERV
-#define NI_MAXSERV 32
-#endif
-
#ifdef NO_INITGROUPS
#define initgroups(x, y) (0) /* nothing */
#endif