AMK's latest
diff --git a/Modules/pcre.h b/Modules/pcre.h
index 4a01bd2..06768a9 100644
--- a/Modules/pcre.h
+++ b/Modules/pcre.h
@@ -2,7 +2,7 @@
* Perl-Compatible Regular Expressions *
*************************************************/
-/* Copyright (c) 1997 University of Cambridge */
+/* Copyright (c) 1998 University of Cambridge */
#ifndef _PCRE_H
#define _PCRE_H
@@ -17,6 +17,12 @@
#include <sys/types.h>
#include <stdlib.h>
+/* Allow for C++ users */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Options */
#define PCRE_CASELESS 0x0001
@@ -68,4 +74,8 @@
extern pcre_extra *pcre_study(const pcre *, int, const char **);
extern const char *pcre_version(void);
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
#endif /* End of pcre.h */