From: Johannes Schindelin Date: Thu, 28 Sep 2006 10:00:35 +0000 (+0200) Subject: daemon: default to 256 for HOST_NAME_MAX if it is not defined X-Git-Tag: v1.4.3-rc1~15 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=695dffe;p=git.git 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 5335d212c..fc3951cf7 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;