From cb8f1af3bd5056109bfbe75faf568430a5121bda Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 3 Jan 2008 07:29:49 +0000 Subject: Cleanup #includes of standard system headers and put them in one place This will make refactoring features easier, especially now that pthreads support and larger refactorings are on the horizon. Hopefully, this will make porting to other platforms (even non-UNIX-like ones for masochists) easier, too. os_compat.h will house all the #includes for system headers considered to be the "core" of MPD. Headers for optional features will be left to individual source files. git-svn-id: https://svn.musicpd.org/mpd/trunk@7130 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/main.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 72359820a..b92ef6abd 100644 --- a/src/main.c +++ b/src/main.c @@ -43,20 +43,7 @@ #include "utils.h" #include "normalize.h" #include "zeroconf.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "os_compat.h" #define SYSTEM_CONFIG_FILE_LOCATION "/etc/mpd.conf" #define USER_CONFIG_FILE_LOCATION "/.mpdconf" -- cgit v1.2.3