Browse Source

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>
maint
Johannes Schindelin 19 years ago committed by Junio C Hamano
parent
commit
695dffe2ef
  1. 4
      daemon.c

4
daemon.c

@ -15,6 +15,10 @@ @@ -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;

Loading…
Cancel
Save