aboutsummaryrefslogtreecommitdiff
path: root/lib/portability.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/portability.h')
-rw-r--r--lib/portability.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/portability.h b/lib/portability.h
index c76beef9..59430e1b 100644
--- a/lib/portability.h
+++ b/lib/portability.h
@@ -88,6 +88,9 @@ char *dirname(char *path);
char *__xpg_basename(char *path);
static inline char *basename(char *path) { return __xpg_basename(path); }
+#include <string.h>
+char *strcasestr(const char *haystack, const char *needle);
+
// When building under obsolete glibc (Ubuntu 8.04-ish), hold its hand a bit.
#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 10
#define fstatat fstatat64