diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-01-03 07:29:49 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-01-03 07:29:49 +0000 |
commit | cb8f1af3bd5056109bfbe75faf568430a5121bda (patch) | |
tree | 86d812b051bca48fd6b4f32706d506a3d77a3989 /src/mpd_types.h | |
parent | 790e70cf25ade17e7412b153c440ef4999fe72fd (diff) | |
download | mpd-cb8f1af3bd5056109bfbe75faf568430a5121bda.tar.gz mpd-cb8f1af3bd5056109bfbe75faf568430a5121bda.tar.xz mpd-cb8f1af3bd5056109bfbe75faf568430a5121bda.zip |
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
Diffstat (limited to '')
-rw-r--r-- | src/mpd_types.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/mpd_types.h b/src/mpd_types.h index 1b5e40b69..765d0d001 100644 --- a/src/mpd_types.h +++ b/src/mpd_types.h @@ -20,16 +20,7 @@ #define MPD_TYPES_H #include "../config.h" - -#if defined(HAVE_STDINT_H) -#include <stdint.h> -#elif defined(HAVE_INTTYPES_H) -#include <inttypes.h> -#elif defined(HAVE_SYS_INTTYPES_H) -#include <sys/inttypes.h> -#elif defined(HAVE_SYS_TYPES_H) -#include <sys/types.h> -#endif +#include "os_compat.h" typedef unsigned char mpd_uint8; typedef signed char mpd_sint8; |