aboutsummaryrefslogtreecommitdiff
path: root/lib/compat
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compat')
-rw-r--r--lib/compat/chdir.c1
-rw-r--r--lib/compat/mockups.c2
-rw-r--r--lib/compat/w32_perror.c2
3 files changed, 5 insertions, 0 deletions
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 <stdlib.h>
+#include <stdio.h>
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 <stdio.h>
+
#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 <stdio.h>
+
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>