aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ConfigGlobal.cxx1
-rw-r--r--src/InotifySource.cxx1
-rw-r--r--src/system/FatalError.cxx1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/ConfigGlobal.cxx b/src/ConfigGlobal.cxx
index 99932f621..49b9c08fb 100644
--- a/src/ConfigGlobal.cxx
+++ b/src/ConfigGlobal.cxx
@@ -32,6 +32,7 @@
#include <assert.h>
#include <string.h>
+#include <stdlib.h>
static ConfigData config_data;
diff --git a/src/InotifySource.cxx b/src/InotifySource.cxx
index 8dc6b5c16..ccf5d3e14 100644
--- a/src/InotifySource.cxx
+++ b/src/InotifySource.cxx
@@ -27,6 +27,7 @@
#include <sys/inotify.h>
#include <unistd.h>
+#include <errno.h>
bool
InotifySource::OnSocketReady(gcc_unused unsigned flags)
diff --git a/src/system/FatalError.cxx b/src/system/FatalError.cxx
index 85384c498..f02b4b581 100644
--- a/src/system/FatalError.cxx
+++ b/src/system/FatalError.cxx
@@ -28,6 +28,7 @@
#include <unistd.h>
#include <stdarg.h>
#include <stdio.h>
+#include <stdlib.h>
#ifdef WIN32
#include <windows.h>