Skip to content

Commit

Permalink
daemon: default to 256 for HOST_NAME_MAX if it is not defined
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Johannes Schindelin authored and Junio C Hamano committed Sep 28, 2006
1 parent c08e524 commit 695dffe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 695dffe

Please sign in to comment.