This case was detected when trying to build ulogd2 on a musl libc based
environment, because musl doesn't provide <sys/queue.h>.
according to a short discussion on #musl:
dalias> sys/queue.h has nothing to do with libc. it's a linked list/queue
implementation entirely in a header file