diff options
Diffstat (limited to 'src/nsfns.m')
-rw-r--r-- | src/nsfns.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nsfns.m b/src/nsfns.m index 5303a5ec313..47943e5d98a 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -33,6 +33,7 @@ GNUstep port and post-20 update by Adrian Robert (arobert@cogsci.ucsd.edu) #include <signal.h> #include <math.h> #include <setjmp.h> +#include <c-strcase.h> #include "lisp.h" #include "blockinput.h" @@ -2226,8 +2227,8 @@ x_get_string_resource (XrmDatabase rdb, char *name, char *class) res = ns_get_defaults_value (toCheck); return !res ? NULL : - (!strncasecmp (res, "YES", 3) ? "true" : - (!strncasecmp (res, "NO", 2) ? "false" : res)); + (!c_strncasecmp (res, "YES", 3) ? "true" : + (!c_strncasecmp (res, "NO", 2) ? "false" : res)); } |