summaryrefslogtreecommitdiff
path: root/lib/defines.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-03-12 12:06:11 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-03-12 12:06:11 +0000
commit2fd3f4a0faad70c698d68c988fc1e8e978a4db79 (patch)
treeb71248d1733bcea538930b75d491cfda9d72381a /lib/defines.h
parent9f0f488fe12c94bcf2173e5e1e998f7c37587b36 (diff)
downloadgnutls-2fd3f4a0faad70c698d68c988fc1e8e978a4db79.tar.gz
* Added an strnstr() function and the requirement in some functions to
use null terminated PEM structures is no more.
Diffstat (limited to 'lib/defines.h')
-rw-r--r--lib/defines.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/defines.h b/lib/defines.h
index 8afb31450f..98f12ad4ee 100644
--- a/lib/defines.h
+++ b/lib/defines.h
@@ -62,6 +62,10 @@ typedef long ptrdiff_t;
# include <strings.h>
#endif
+#ifndef HAVE_STRNSTR
+char *strnstr(const char *haystack, const char *needle, size_t haystacklen);
+#endif
+
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif