aboutsummaryrefslogtreecommitdiffstats
path: root/src/os_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_compat.h')
-rw-r--r--src/os_compat.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/os_compat.h b/src/os_compat.h
index 7cd47cbf8..c3aede51c 100644
--- a/src/os_compat.h
+++ b/src/os_compat.h
@@ -31,14 +31,7 @@
* 2) optional features in core (libsamplerate, avahi, ...)
*/
-#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>
-#endif
-#include <sys/types.h>
+#include "mpd_types.h"
#define _XOPEN_SOURCE 600 /* for posix_fadvise, won't hurt if not available */
#include <fcntl.h>