]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Define socklen_t on older versions of BSD/OS.
authorTed Lemon <source@isc.org>
Tue, 1 Feb 2000 18:21:26 +0000 (18:21 +0000)
committerTed Lemon <source@isc.org>
Tue, 1 Feb 2000 18:21:26 +0000 (18:21 +0000)
includes/cf/bsdos.h

index 4efa646631bf02126c91842f57f2020fb38622e7..1dde7077734ac1ddef08bc258147e94254d57322 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <syslog.h>
 #include <sys/types.h>
+#include <sys/param.h>
 #include <string.h>
 #include <paths.h>
 #include <errno.h>
@@ -70,3 +71,7 @@ extern int h_errno;
 #if defined (USE_DEFAULT_NETWORK)
 #  define USE_BPF
 #endif
+
+#if _BSDI_VERSION < 199802
+typedef int socklen_t;
+#endif