Define NI_MAXSERV if not defined by operating system
commit415e7b877c54440bf92137a7021416efdf0a29b5
authorPatrick Welche <prlw1@newn.cam.ac.uk>
Thu, 18 Oct 2007 17:17:39 +0000 (18 18:17 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 19 Oct 2007 01:04:44 +0000 (18 21:04 -0400)
tree2700752a0b29d1d82817cc391fe42f99f3bca0d5
parentfd0b9594d0c2bb50469bfc1481ea4395b7a76548
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>
daemon.c