src/string.c

changeset 361
8ee9e23adbd2
parent 319
0380e438a7ce
child 363
8175ba2b3bcb
     1.1 --- a/src/string.c	Sat Oct 05 16:58:16 2019 +0200
     1.2 +++ b/src/string.c	Sat Oct 05 17:07:16 2019 +0200
     1.3 @@ -36,6 +36,10 @@
     1.4  #include <stdint.h>
     1.5  #include <ctype.h>
     1.6  
     1.7 +#ifndef _WIN32
     1.8 +#include <strings.h> /* for strncasecmp() */
     1.9 +#endif /* _WIN32 */
    1.10 +
    1.11  sstr_t sstr(char *cstring) {
    1.12      sstr_t string;
    1.13      string.ptr = cstring;

mercurial