summaryrefslogtreecommitdiffstats
path: root/m4/libmikmod.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/libmikmod.m4')
-rw-r--r--m4/libmikmod.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/libmikmod.m4 b/m4/libmikmod.m4
index 8c51985c..9368d758 100644
--- a/m4/libmikmod.m4
+++ b/m4/libmikmod.m4
@@ -72,6 +72,7 @@ dnl
#include <mikmod.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
char* my_strdup (char *str)
{
@@ -125,7 +126,7 @@ int main()
(libmikmod_minor_version != LIBMIKMOD_VERSION_MINOR) ||
(libmikmod_micro_version != LIBMIKMOD_REVISION))
{
- printf("*** libmikmod header files (version %d.%d.%d) do not match\n",
+ printf("*** libmikmod header files (version %ld.%ld.%ld) do not match\n",
LIBMIKMOD_VERSION_MAJOR, LIBMIKMOD_VERSION_MINOR, LIBMIKMOD_REVISION);
printf("*** library (version %d.%d.%d)\n",
libmikmod_major_version, libmikmod_minor_version, libmikmod_micro_version);