diff --git a/configure.in b/configure.in index 1e8f9f64..04d6cf1a 100644 --- a/configure.in +++ b/configure.in @@ -257,6 +257,7 @@ AC_ARG_WITH(id3tag, ]) AC_CHECK_HEADERS(getopt.h,,) +AC_CHECK_HEADERS(stdint.h,,) AC_CHECK_HEADERS(id3tag.h,, [ AC_MSG_ERROR([id3tag.h not found... try --with-id3tag=dir])]) diff --git a/src/scan-aif.c b/src/scan-aif.c index d6ba818a..647ec669 100644 --- a/src/scan-aif.c +++ b/src/scan-aif.c @@ -22,12 +22,16 @@ # include "config.h" #endif +#ifdef HAVE_STDINT_H +# include +#endif + #include #include #include #include -#include +#include #include "err.h" #include "mp3-scanner.h"