From b575a98826184fc34750ef2cce4fa1503938b7f2 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 20 Mar 2021 17:37:39 +0100 Subject: Fix: libcompat: add missing stdio includes Signed-off-by: David Oberhollenzer --- lib/compat/chdir.c | 1 + lib/compat/mockups.c | 2 ++ lib/compat/w32_perror.c | 2 ++ 3 files changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/compat/chdir.c b/lib/compat/chdir.c index 3a6ecb1..f695e2a 100644 --- a/lib/compat/chdir.c +++ b/lib/compat/chdir.c @@ -9,6 +9,7 @@ #ifdef _WIN32 #include +#include int chdir(const char *path) { diff --git a/lib/compat/mockups.c b/lib/compat/mockups.c index 22f0820..4c396ec 100644 --- a/lib/compat/mockups.c +++ b/lib/compat/mockups.c @@ -7,6 +7,8 @@ #include "config.h" #include "compat.h" +#include + #ifdef _WIN32 int fchownat(int dirfd, const char *path, int uid, int gid, int flags) { diff --git a/lib/compat/w32_perror.c b/lib/compat/w32_perror.c index 1268501..8c84191 100644 --- a/lib/compat/w32_perror.c +++ b/lib/compat/w32_perror.c @@ -7,6 +7,8 @@ #include "config.h" #include "compat.h" +#include + #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include -- cgit v1.2.3