aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-11-05 07:21:48 +0000
committerMax Kellermann <max@duempel.org>2013-11-05 11:08:36 +0100
commit3f21581a81a6a4d5fe08ec29356eed43e87397ad (patch)
tree6ecd6bc2e9b47164f7b8cc0040e45e5aa9518eb8
parentbb62ecf157cc4c11092bf3a3e90f3f14ab128a91 (diff)
downloadmpd-3f21581a81a6a4d5fe08ec29356eed43e87397ad.tar.gz
mpd-3f21581a81a6a4d5fe08ec29356eed43e87397ad.tar.xz
mpd-3f21581a81a6a4d5fe08ec29356eed43e87397ad.zip
add various missing headers
Fixes building with gcc-4.8 Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
-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>