summaryrefslogtreecommitdiff
path: root/daemon.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-03-19 19:18:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-03-19 19:18:21 (GMT)
commit31ccd35df4b7599c83fe46669ca36ca2c4fb3caa (patch)
tree08e677175891dc5a7397ab78225dedf8ba4bbd33 /daemon.c
parent3ae5d5016e71a206be1f79fe873a2016ed56d7d1 (diff)
parent3b130ade45c70af63c7692387b65f161770a8ccc (diff)
downloadgit-31ccd35df4b7599c83fe46669ca36ca2c4fb3caa.zip
git-31ccd35df4b7599c83fe46669ca36ca2c4fb3caa.tar.gz
git-31ccd35df4b7599c83fe46669ca36ca2c4fb3caa.tar.bz2
Merge branch 'dm/ni-maxhost-may-be-missing'
On systems without NI_MAXHOST in their system header files, connect.c (hence most of the transport) did not compile. * 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