mirror of
				https://github.com/SwallowOS/xorg_lib_libfontenc
				synced 2025-11-04 13:56:02 +08:00 
			
		
		
		
	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:
		@@ -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>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user