From 9df522a219c785f275a977574a8c983e78467ea5 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Thu, 17 Nov 2022 14:14:22 +0100 Subject: [PATCH] Add where appropriate Under Posix systems, this header is documented to be required when using select(). --- src/ser_posix.c | 1 + src/term.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/ser_posix.c b/src/ser_posix.c index 46f3aaa4..ecc25baf 100644 --- a/src/ser_posix.c +++ b/src/ser_posix.c @@ -36,6 +36,7 @@ #include #include #include +#include #include #include diff --git a/src/term.c b/src/term.c index bd4e57b1..99f263c5 100644 --- a/src/term.c +++ b/src/term.c @@ -44,6 +44,8 @@ #ifdef WIN32 #include +#else +#include #endif #endif