]> git.deb.at Git - pkg/abook.git/blobdiff - misc.c
Add debhelper token into maintainers scripts.
[pkg/abook.git] / misc.c
diff --git a/misc.c b/misc.c
index 308c196c31f6ad3364ece033cc5905b2dd5b58d6..0f96b7a878316948c11d98a70259865d5e70ac55 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -77,8 +77,9 @@ is_number(char *p)
        return 1;
 }
 
+#ifndef HAVE_STRCASESTR
 char *
-strcasestr(char *haystack, char *needle)
+strcasestr(const char *haystack, const char *needle)
 {
        int i;
        int k;
@@ -97,7 +98,7 @@ strcasestr(char *haystack, char *needle)
 
        return NULL;
 }
-
+#endif
 
 #ifdef HAVE_CONFIG_H
 #      include "config.h"