summaryrefslogtreecommitdiff
path: root/rpmio/strcasecmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmio/strcasecmp.c')
-rw-r--r--rpmio/strcasecmp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmio/strcasecmp.c b/rpmio/strcasecmp.c
index fa87ea9c7..4fcb37d60 100644
--- a/rpmio/strcasecmp.c
+++ b/rpmio/strcasecmp.c
@@ -3,11 +3,12 @@
*/
#include "system.h"
+#include "rpmio.h"
#include "debug.h"
static inline unsigned char xtolower(unsigned char c)
{
- return ((c >= 'A' && c <= 'Z') ? (c | 0x40) : c);
+ return ((c >= 'A' && c <= 'Z') ? (c | 0x20) : c);
}
int xstrcasecmp(const char *s1, const char *s2)