NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
error: field 'ev_timeout' has incomplete type
Hi Everyone,
I'm building Unbound (https://github.com/NLnetLabs/unbound) from
sources on NetBSD 8.1. I'm catching a compile error:
libtool: compile: gcc -I. -I/usr/pkg/include -I/usr/local/include -DSRCDIR=. -g
-O2 -flto -pthread -c ./util/mini_event.c -fPIC -DPIC -o .libs/mini_event.o
In file included from ./util/mini_event.c:44:0:
./util/mini_event.h:142:17: error: field 'ev_timeout' has incomplete type
struct timeval ev_timeout;
^
*** [mini_event.lo] Error code 1
According to searches, the header file of interest is <sys/time.h>.
The header file is included in the source file. 'man -k' is not
returning relevant hits. I'm guessing NetBSD does not offer the
struct.
Is there an alternate header to use on NetBSD? Or is the ev_event
interface not available on NetBSD?
Thanks in advance.
Home |
Main Index |
Thread Index |
Old Index