Include strings.h for strcasecmp

Our minimum requirement for X11 is currently Unix98.  Unix98 provides
strcasecmp in <strings.h>.  This commit fixes implicit declarations
of this function on systems that closely adhere to the standard.

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
Jeremy Huddleston
2011-11-11 10:22:52 -08:00
parent 1da600011b
commit 381c9efec4
2 changed files with 1 additions and 8 deletions

View File

@@ -28,11 +28,8 @@ THE SOFTWARE.
to be pure ASCII. Bloody ``Code Set Independence''. */
#include <string.h>
#include <stdio.h>
#if defined(__SCO__) || defined(__UNIXWARE__)
#include <strings.h>
#endif
#include <stdio.h>
#include <stdlib.h>

View File

@@ -23,11 +23,7 @@ THE SOFTWARE.
/* Backend-independent encoding code */
#include <string.h>
#if defined(__SCO__) || defined(__UNIXWARE__)
#include <strings.h>
#endif
#include <stdlib.h>
#define FALSE 0