Index: libmikmod.m4 =================================================================== --- libmikmod.m4.orig +++ libmikmod.m4 @@ -64,6 +64,7 @@ dnl #include #include #include +#include char* my_strdup (char *str) { @@ -78,7 +79,7 @@ char* my_strdup (char *str) return new_str; } -int main() +int main(void) { int major,minor,micro; int libmikmod_major_version,libmikmod_minor_version,libmikmod_micro_version; @@ -118,7 +119,7 @@ int main() (libmikmod_micro_version != LIBMIKMOD_REVISION)) { printf("*** libmikmod header files (version %d.%d.%d) do not match\n", - LIBMIKMOD_VERSION_MAJOR, LIBMIKMOD_VERSION_MINOR, LIBMIKMOD_REVISION); + (int)LIBMIKMOD_VERSION_MAJOR, (int)LIBMIKMOD_VERSION_MINOR, (int)LIBMIKMOD_REVISION); printf("*** library (version %d.%d.%d)\n", libmikmod_major_version, libmikmod_minor_version, libmikmod_micro_version); }