diff options
Diffstat (limited to 'src/mpd_types.h')
-rw-r--r-- | src/mpd_types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mpd_types.h b/src/mpd_types.h index dbdfc6865..1b5e40b69 100644 --- a/src/mpd_types.h +++ b/src/mpd_types.h @@ -21,6 +21,16 @@ #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 + typedef unsigned char mpd_uint8; typedef signed char mpd_sint8; |