summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-06-10 08:04:12 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-06-22 17:25:58 +0200
commit93519fa7643d507cb720d83af8bc630b74c2c107 (patch)
tree91b8085dff5471608c4cdf2457a55230c8fe02b4 /freebsd
parentwpa: Do not use signals (diff)
downloadrtems-libbsd-93519fa7643d507cb720d83af8bc630b74c2c107.tar.bz2
wpa: Use CONFIG_ELOOP_KQUEUE
This avoids issues with the fd_set size.
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/contrib/wpa/src/utils/eloop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/freebsd/contrib/wpa/src/utils/eloop.c b/freebsd/contrib/wpa/src/utils/eloop.c
index b26de5a0..09493b89 100644
--- a/freebsd/contrib/wpa/src/utils/eloop.c
+++ b/freebsd/contrib/wpa/src/utils/eloop.c
@@ -16,6 +16,9 @@
#include "list.h"
#include "eloop.h"
+#ifdef __rtems__
+#define CONFIG_ELOOP_KQUEUE
+#endif /* __rtems__ */
#if defined(CONFIG_ELOOP_POLL) && defined(CONFIG_ELOOP_EPOLL)
#error Do not define both of poll and epoll
#endif