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>
This commit is contained in:
Johannes Schindelin 2006-09-28 12:00:35 +02:00 committed by Junio C Hamano
parent c08e52486a
commit 695dffe2ef

View File

@ -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;