]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
select(2) has been deprecated in favor of poll(2).
authorTed Lemon <source@isc.org>
Wed, 19 Feb 1997 10:51:10 +0000 (10:51 +0000)
committerTed Lemon <source@isc.org>
Wed, 19 Feb 1997 10:51:10 +0000 (10:51 +0000)
cf/netbsd.h
includes/cf/netbsd.h

index 3d8e770c5fffdd4233b2f41b4828cc632890d85c..5512c58d0e5ecdafe6f5ba4a7986215e0c016d82 100644 (file)
@@ -89,3 +89,6 @@ extern int h_errno;
 #if defined (USE_DEFAULT_NETWORK)
 #  define USE_BPF
 #endif
+
+#define USE_POLL
+#include <poll.h>
index 3d8e770c5fffdd4233b2f41b4828cc632890d85c..5512c58d0e5ecdafe6f5ba4a7986215e0c016d82 100644 (file)
@@ -89,3 +89,6 @@ extern int h_errno;
 #if defined (USE_DEFAULT_NETWORK)
 #  define USE_BPF
 #endif
+
+#define USE_POLL
+#include <poll.h>