29 lines
825 B
Diff
29 lines
825 B
Diff
|
--- libmikmod.m4
|
||
|
+++ libmikmod.m4
|
||
|
@@ -64,6 +64,7 @@
|
||
|
#include <mikmod.h>
|
||
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
+#include <string.h>
|
||
|
|
||
|
char* my_strdup (char *str)
|
||
|
{
|
||
|
@@ -78,7 +79,7 @@
|
||
|
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 @@
|
||
|
(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);
|
||
|
}
|