aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-29 17:28:32 +0100
committerMax Kellermann <max@duempel.org>2008-12-29 17:28:32 +0100
commit95b3430f5277cf36bc9acc989e301ae302747a98 (patch)
tree8080eae01aa2d58873fa3de47a1eae8543f024b4 /src/main.c
parent041b8f697bb31ce443de0e6f9e4eee892f9e2ac8 (diff)
downloadmpd-95b3430f5277cf36bc9acc989e301ae302747a98.tar.gz
mpd-95b3430f5277cf36bc9acc989e301ae302747a98.tar.xz
mpd-95b3430f5277cf36bc9acc989e301ae302747a98.zip
removed os_compat.h
Only include headers which are really needed. os_compat.h aimed to make MPD easily portable, but was never actually made portable.
Diffstat (limited to '')
-rw-r--r--src/main.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index babb17c25..0f8ff30e9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -49,7 +49,6 @@
#include "normalize.h"
#include "zeroconf.h"
#include "main_notify.h"
-#include "os_compat.h"
#include "dirvec.h"
#include "songvec.h"
#include "tag_pool.h"
@@ -60,6 +59,14 @@
#include <glib.h>
+#include <unistd.h>
+#include <stdlib.h>
+#include <signal.h>
+#include <errno.h>
+#include <string.h>
+#include <pwd.h>
+#include <grp.h>
+
#ifdef HAVE_LOCALE
#include <locale.h>
#endif