diff options
Diffstat (limited to 'libnetio')
-rw-r--r-- | libnetio/netio_posix.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libnetio/netio_posix.c b/libnetio/netio_posix.c index 62320f2..f3e9fe0 100644 --- a/libnetio/netio_posix.c +++ b/libnetio/netio_posix.c @@ -24,11 +24,16 @@ #include <libnetio/netio.h> -/* common *********************************************************************/ +/* configuration **************************************************************/ -#define USE_CONFIG_NETIO_POSIX #include "config.h" +#ifndef CONFIG_NETIO_NUM_CONNS +# error config.h must define CONFIG_NETIO_NUM_CONNS +#endif + +/* common *********************************************************************/ + #define UNUSED(name) /* name __attribute__ ((unused)) */ static int sig_io = 0; |