[hackers] [sic] fix include: include sys/select.h for select(2) and FD_(ZERO|SET) || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Sun, 11 Oct 2020 14:52:27 +0200 (CEST)

commit ec293427a0cc2ef7f561a60347ce940d567efb72
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Sun Oct 11 14:51:35 2020 +0200
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Sun Oct 11 14:51:35 2020 +0200

    fix include: include sys/select.h for select(2) and FD_(ZERO|SET)
    
    Reported by nonterminal on IRC, thanks!

diff --git a/sic.c b/sic.c
index ecefaf2..774f357 100644
--- a/sic.c
+++ b/sic.c
_AT_@ -1,4 +1,6 @@
  /* See LICENSE file for license details. */
+#include <sys/select.h>
+
 #include <ctype.h>
 #include <errno.h>
 #include <stdarg.h>
Received on Sun Oct 11 2020 - 14:52:27 CEST

This archive was generated by hypermail 2.3.0 : Sun Oct 11 2020 - 15:00:33 CEST