From 62e8081e0ac4a4c170bc536303f7a9bd3e91fd7b Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Mon, 7 Oct 2024 17:24:18 -0600 Subject: tidy config --- libnetio/netio_posix.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'libnetio/netio_posix.c') 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 -/* 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; -- cgit v1.2.3-2-g168b