author | Patrick Welche <prlw1@newn.cam.ac.uk> | |
Thu, 18 Oct 2007 17:17:39 +0000 (18:17 +0100) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 19 Oct 2007 01:04:44 +0000 (21:04 -0400) | ||
commit | 415e7b877c54440bf92137a7021416efdf0a29b5 | |
tree | 2700752a0b29d1d82817cc391fe42f99f3bca0d5 | tree | snapshot |
parent | fd0b9594d0c2bb50469bfc1481ea4395b7a76548 | commit | diff |
Define NI_MAXSERV if not defined by operating system
I found I needed NI_MAXSERV as it is defined in netdb.h, which is
not included by daemon.c. Rather than including the whole header
we can define a reasonable fallback value.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
I found I needed NI_MAXSERV as it is defined in netdb.h, which is
not included by daemon.c. Rather than including the whole header
we can define a reasonable fallback value.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
daemon.c | diff | blob | history |