]> git.armaanb.net Git - sic.git/commitdiff
fix include: include sys/select.h for select(2) and FD_(ZERO|SET)
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 11 Oct 2020 12:51:35 +0000 (14:51 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 11 Oct 2020 12:51:35 +0000 (14:51 +0200)
Reported by nonterminal on IRC, thanks!

sic.c

diff --git a/sic.c b/sic.c
index ecefaf2ff773e96dd40dd3823a5b673c0d2a937f..774f357aff161655e710fd60d26e79be871d1d24 100644 (file)
--- 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>