]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Build fix for BSD.
authorShane Kerr <shane@isc.org>
Fri, 15 Jun 2007 15:02:05 +0000 (15:02 +0000)
committerShane Kerr <shane@isc.org>
Fri, 15 Jun 2007 15:02:05 +0000 (15:02 +0000)
See RT ticket #16959 for more.

client/dhclient.c
server/dhcpd.c

index f05a94ef4624a001ecb37493da4789d777ec5d77..603ce3f5c93171f0b8b41f9446fab6e843092dcd 100644 (file)
@@ -32,7 +32,7 @@
 
 #ifndef lint
 static char ocopyright[] =
-"$Id: dhclient.c,v 1.153 2007/06/07 15:29:30 each Exp $ Copyright (c) 2004-2007 Internet Systems Consortium.  All rights reserved.\n";
+"$Id: dhclient.c,v 1.154 2007/06/15 15:02:05 shane Exp $ Copyright (c) 2004-2007 Internet Systems Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -40,6 +40,7 @@ static char ocopyright[] =
 #include <signal.h>
 #include <errno.h>
 #include <sys/wait.h>
+#include <limits.h>
 
 TIME default_lease_time = 43200; /* 12 hours... */
 TIME max_lease_time = 86400; /* 24 hours... */
index 913fe1f1b79eca17d3bf743424da99f63021e8d7..68270c474baebb812c0f56265dc83340dcab1a98 100644 (file)
@@ -34,7 +34,7 @@
 
 #ifndef lint
 static char ocopyright[] =
-"$Id: dhcpd.c,v 1.127 2007/06/07 15:29:31 each Exp $ Copyright 2004-2007 Internet Systems Consortium.";
+"$Id: dhcpd.c,v 1.128 2007/06/15 15:02:05 shane Exp $ Copyright 2004-2007 Internet Systems Consortium.";
 #endif
 
   static char copyright[] =
@@ -47,6 +47,7 @@ static char url [] = "For info, please visit http://www.isc.org/sw/dhcp/";
 #include <omapip/omapip_p.h>
 #include <syslog.h>
 #include <errno.h>
+#include <limits.h>
 
 static void usage PROTO ((void));