fix include: include sys/select.h for select(2) and FD_(ZERO|SET) - sic - simple irc client
(HTM) git clone git://git.suckless.org/sic
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit ec293427a0cc2ef7f561a60347ce940d567efb72
(DIR) parent 9bb34de449c8f22d869a6f3794107ed25d37c7c1
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 11 Oct 2020 14:51:35 +0200
fix include: include sys/select.h for select(2) and FD_(ZERO|SET)
Reported by nonterminal on IRC, thanks!
Diffstat:
M sic.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/sic.c b/sic.c
@@ -1,4 +1,6 @@
/* See LICENSE file for license details. */
+#include <sys/select.h>
+
#include <ctype.h>
#include <errno.h>
#include <stdarg.h>