diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-11-11 10:22:52 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-11-11 10:22:52 -0800 |
commit | 381c9efec4c066d984514d226b61b3360741aea2 (patch) | |
tree | cdef2583a68a86eb323a258e074fe10ccd7c9e65 | |
parent | 1da600011b7e89981592308843ce7230fa5f87f1 (diff) |
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>
-rw-r--r-- | src/encparse.c | 5 | ||||
-rw-r--r-- | src/fontenc.c | 4 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/encparse.c b/src/encparse.c index 03b2afa..cbcac80 100644 --- a/src/encparse.c +++ b/src/encparse.c @@ -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> diff --git a/src/fontenc.c b/src/fontenc.c index 837c925..fb56ff1 100644 --- a/src/fontenc.c +++ b/src/fontenc.c @@ -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 |