diff options
| author | Roy Marples <roy@marples.name> | 2021-01-28 12:13:24 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2021-01-28 12:13:24 +0000 |
| commit | 44bbb1a68bcc2ee47eaa30aea2adefabe55b6807 (patch) | |
| tree | 420f438c2a10014599d4ea77e735b2cae1f1e6b2 /configure | |
| parent | 11baa2a1f51c8da51883ab341f6e00e4f73c6998 (diff) | |
| download | dhcpcd-44bbb1a68bcc2ee47eaa30aea2adefabe55b6807.tar.xz | |
OpenBSD: Fix kqueue detection and one error.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1226,7 +1226,7 @@ if [ -z "$POLL" ]; then cat <<EOF >_kqueue1.c #include <sys/event.h> #include <sys/fcntl.h> -#include <sys/wait.h> +#include <sys/time.h> int main(void) { return kqueue1(O_CLOEXEC); } @@ -1243,8 +1243,9 @@ fi if [ -z "$POLL" ]; then printf "Testing for kqueue ... " cat <<EOF >_kqueue.c +#include <sys/types.h> #include <sys/event.h> -#include <sys/wait.h> +#include <sys/time.h> int main(void) { return kqueue(); } |
