1#include "config.h"
2
3#include <sys/types.h>
4
5#include <stdio.h>
6
7/*
8 * What we're looking for with the next test is something that is likely
9 * to be present on the host, but unlikely to be present on the target.
10 * So we assume a Linux host.
11 */
12
13#ifdef HAVE_SYS_EPOLL_H
14#error Should not have epoll.  In case NetBSD now has epoll, please update test.
15#endif
16#ifndef HAVE_SELECT
17#error Could not find select.  Was ist los?
18#endif
19
20/* make sure we offer compat symbols that can be found by autoconf */
21#ifndef HAVE_SIGACTION
22#error sigaction not found.  libc problem.
23#endif
24
25int
26main()
27{
28
29	printf("hello, test\n");
30}
31