aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/st.c b/st.c
index e86171927b..fff79f5571 100644
--- a/st.c
+++ b/st.c
@@ -1524,6 +1524,7 @@ strhash(st_data_t arg)
}
#endif
+#ifndef HAVE_STRCASECMP
int
st_strcasecmp(const char *s1, const char *s2)
{
@@ -1547,6 +1548,7 @@ st_strcasecmp(const char *s1, const char *s2)
}
}
}
+#endif
int
st_strncasecmp(const char *s1, const char *s2, size_t n)