diff options
author | Max Kellermann <max@duempel.org> | 2008-09-29 15:53:53 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-29 15:53:53 +0200 |
commit | a7651b9d307efe2473bd68510aa9a6225e7a0b64 (patch) | |
tree | 55b9fc39383e9d8e84f985c2b72ae07960a1bbba /src/os_compat.h | |
parent | 35d519625d1748e00f05fa66252c938c1cd2c5d8 (diff) | |
download | mpd-a7651b9d307efe2473bd68510aa9a6225e7a0b64.tar.gz mpd-a7651b9d307efe2473bd68510aa9a6225e7a0b64.tar.xz mpd-a7651b9d307efe2473bd68510aa9a6225e7a0b64.zip |
assume stdint.h and stddef.h are available
Since we use a C99 compiler now, we can assert that the C99 standard
headers are available, no need for complicated compile time checks.
Kill mpd_types.h.
Diffstat (limited to '')
-rw-r--r-- | src/os_compat.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/os_compat.h b/src/os_compat.h index c3aede51c..772ba4957 100644 --- a/src/os_compat.h +++ b/src/os_compat.h @@ -31,11 +31,9 @@ * 2) optional features in core (libsamplerate, avahi, ...) */ -#include "mpd_types.h" - -#define _XOPEN_SOURCE 600 /* for posix_fadvise, won't hurt if not available */ #include <fcntl.h> +#include <stdint.h> #include <stdio.h> #include <sys/uio.h> #include <sys/stat.h> |