summaryrefslogtreecommitdiff
path: root/daemon.c
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2013-02-25 19:30:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-02-25 20:16:08 (GMT)
commit3b130ade45c70af63c7692387b65f161770a8ccc (patch)
treeab65009003069f5c27e33c92e1d9c10931c27390 /daemon.c
parent7e2010537e96d0a1144520222f20ba1dc3d61441 (diff)
downloadgit-3b130ade45c70af63c7692387b65f161770a8ccc.zip
git-3b130ade45c70af63c7692387b65f161770a8ccc.tar.gz
git-3b130ade45c70af63c7692387b65f161770a8ccc.tar.bz2
git-compat-util.h: Provide missing netdb.h definitions
Some platforms may lack the NI_MAXHOST and NI_MAXSERV values in their system headers, so ensure they are available. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 ab21e66..34d95c1 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