-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include <sys/types.h>
-#include <ctype.h>
-
-#if defined (STDC_HEADERS) || (!defined (isascii) && !defined (HAVE_ISASCII))
-# define IN_CTYPE_DOMAIN(c) 1
-#else
-# define IN_CTYPE_DOMAIN(c) isascii(c)
-#endif
-#define ISLOWER(c) (IN_CTYPE_DOMAIN (c) && islower (c))
-
-#if _LIBC || STDC_HEADERS
-# define TOUPPER(c) toupper (c)
-#else
-# define TOUPPER(c) (ISLOWER (c) ? toupper (c) : (c))
-#endif