diff --git a/Makefile.os2 b/Makefile.os2 index e3bf7d8..688d28d 100644 --- a/Makefile.os2 +++ b/Makefile.os2 @@ -3,7 +3,7 @@ # wmake -f Makefile.os2 CC=wcc386 -CPPFLAGS=-DHAVE_SIGNAL_H +CPPFLAGS=-DHAVE_SIGNAL_H -DHAVE_STRINGS_H CPPFLAGS+= -DSOUND_OS2DART !ifndef __UNIX__ diff --git a/Makefile.w32 b/Makefile.w32 index adbf122..de939fa 100644 --- a/Makefile.w32 +++ b/Makefile.w32 @@ -3,7 +3,7 @@ # wmake -f Makefile.w32 CC=wcc386 -CPPFLAGS=-DHAVE_SIGNAL_H +CPPFLAGS=-DHAVE_SIGNAL_H -DHAVE_STRINGS_H CPPFLAGS+= -DSOUND_WIN32 !ifndef __UNIX__ diff --git a/src/options.c b/src/options.c index 1730c0f..3a79e27 100644 --- a/src/options.c +++ b/src/options.c @@ -9,6 +9,9 @@ #include #include #include +#ifdef HAVE_STRINGS_H +#include +#endif #include #include #if defined(HAVE_GETOPT_H) && defined(HAVE_GETOPT_LONG)