From: Ted Lemon Date: Wed, 19 Feb 1997 10:51:10 +0000 (+0000) Subject: select(2) has been deprecated in favor of poll(2). X-Git-Tag: DHCP_970222~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fab1248b37eb349c94ea3e0c66cb4eae2e004fd1;p=thirdparty%2Fdhcp.git select(2) has been deprecated in favor of poll(2). --- diff --git a/cf/netbsd.h b/cf/netbsd.h index 3d8e770c5..5512c58d0 100644 --- a/cf/netbsd.h +++ b/cf/netbsd.h @@ -89,3 +89,6 @@ extern int h_errno; #if defined (USE_DEFAULT_NETWORK) # define USE_BPF #endif + +#define USE_POLL +#include diff --git a/includes/cf/netbsd.h b/includes/cf/netbsd.h index 3d8e770c5..5512c58d0 100644 --- a/includes/cf/netbsd.h +++ b/includes/cf/netbsd.h @@ -89,3 +89,6 @@ extern int h_errno; #if defined (USE_DEFAULT_NETWORK) # define USE_BPF #endif + +#define USE_POLL +#include