From 695dffe2efa53b9628e7811dbe33447a8014fd77 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 28 Sep 2006 12:00:35 +0200 Subject: daemon: default to 256 for HOST_NAME_MAX if it is not defined Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano diff --git a/daemon.c b/daemon.c index 5335d21..fc3951c 100644 --- a/daemon.c +++ b/daemon.c @@ -15,6 +15,10 @@ #include "exec_cmd.h" #include "interpolate.h" +#ifndef HOST_NAME_MAX +#define HOST_NAME_MAX 256 +#endif + static int log_syslog; static int verbose; static int reuseaddr; -- cgit v0.10.2-6-g49f6