daemon: default to 256 for HOST_NAME_MAX if it is not defined
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Johannes Schindelin committed
Sep 28, 2006 at 12:00 UTC
695dffe2efa53b9628e7811dbe33447a8014fd77
1 file changed
+4
daemon.c
+4
@@ -15,6 +15,10 @@
15
#include "exec_cmd.h"
16
#include "interpolate.h"
17
18
+#ifndef HOST_NAME_MAX
19
+#define HOST_NAME_MAX 256
20
+#endif
21
+
22
static int log_syslog;
23
static int verbose;
24
static int reuseaddr;