use HOST_NAME_MAX to size buffers for gethostname(2)
[gitweb.git] / daemon.c
index ff0fa583b0497d886c54ff93d97cc45fd909e7a5..10cbc0fa5808d77d16b501371b6dde9f505b1e6e 100644 (file)
--- a/daemon.c
+++ b/daemon.c
@@ -4,10 +4,6 @@
 #include "strbuf.h"
 #include "string-list.h"
 
-#ifndef HOST_NAME_MAX
-#define HOST_NAME_MAX 256
-#endif
-
 #ifdef NO_INITGROUPS
 #define initgroups(x, y) (0) /* nothing */
 #endif