include strings.h, if available, for strcasecmp

it might not be prototyped in strings.h.
master
Ozkan Sezer 4 years ago
parent ecd0820b9e
commit e68fe9d983
  1. 2
      Makefile.os2
  2. 2
      Makefile.w32
  3. 3
      src/options.c

@ -3,7 +3,7 @@
# wmake -f Makefile.os2 # wmake -f Makefile.os2
CC=wcc386 CC=wcc386
CPPFLAGS=-DHAVE_SIGNAL_H CPPFLAGS=-DHAVE_SIGNAL_H -DHAVE_STRINGS_H
CPPFLAGS+= -DSOUND_OS2DART CPPFLAGS+= -DSOUND_OS2DART
!ifndef __UNIX__ !ifndef __UNIX__

@ -3,7 +3,7 @@
# wmake -f Makefile.w32 # wmake -f Makefile.w32
CC=wcc386 CC=wcc386
CPPFLAGS=-DHAVE_SIGNAL_H CPPFLAGS=-DHAVE_SIGNAL_H -DHAVE_STRINGS_H
CPPFLAGS+= -DSOUND_WIN32 CPPFLAGS+= -DSOUND_WIN32
!ifndef __UNIX__ !ifndef __UNIX__

@ -9,6 +9,9 @@
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
#include <string.h> #include <string.h>
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#if defined(HAVE_GETOPT_H) && defined(HAVE_GETOPT_LONG) #if defined(HAVE_GETOPT_H) && defined(HAVE_GETOPT_LONG)

Loading…
Cancel
Save