diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2006-09-28 12:00:35 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-28 09:14:09 -0700 |
commit | 695dffe2efa53b9628e7811dbe33447a8014fd77 (patch) | |
tree | 1c617afcc3d5b36e83b20c6ecada7e4c3d0240e6 /daemon.c | |
parent | c08e52486a7b5e38741c8264979a11f0103ec8c4 (diff) | |
download | git-695dffe2efa53b9628e7811dbe33447a8014fd77.tar.gz |
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>
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |