added strsep(), which is a thread-safe replacement for strtok(),
[freeradius.git] / src / include / missing.h
index fcc3c24..a36e43b 100644 (file)
@@ -5,6 +5,17 @@
  * Version:    $Id$
  *
  */
+#ifndef HAVE_STRNCASECMP
+extern int strncasecmp(char *s1, char *s2, int n)
+#endif
+
+#ifndef HAVE_STRCASECMP
+extern int strcasecmp(char *s1, char *s2)
+#endif
+
+#ifndef HAVE_STRSEP
+extern char *strsep(char **stringp, const char *delim)
+#endif
 
 #ifdef NEED_DECLARATION_CRYPT
 char *crypt(char *key, char *salt);