summaryrefslogtreecommitdiff
path: root/pcreposix.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-08-01 09:10:40 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-08-01 09:10:40 +0000
commit01eeb658525bc9a5b840253f8b415af6abe282e0 (patch)
treeb69d63abc2337c71dffc18988d2969cecbe24271 /pcreposix.c
parente188596ef3e912f62e3ae85c8da905a54fc41d8b (diff)
downloadpcre-01eeb658525bc9a5b840253f8b415af6abe282e0.tar.gz
Correct errors in previous patch; tidy for test release.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@200 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcreposix.c')
-rw-r--r--pcreposix.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pcreposix.c b/pcreposix.c
index 543b605..9c536e7 100644
--- a/pcreposix.c
+++ b/pcreposix.c
@@ -42,12 +42,12 @@ POSSIBILITY OF SUCH DAMAGE.
functions. */
-#ifdef HAVE_CONFIG_H
+#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
+#endif
-/* Ensure that the PCREPOSIX_EXP_xxx macros are set appropriately for
+/* Ensure that the PCREPOSIX_EXP_xxx macros are set appropriately for
compiling these functions. This must come before including pcreposix.h, where
they are set for an application (using these functions) if they have not
previously been set. */
@@ -57,6 +57,7 @@ previously been set. */
# define PCREPOSIX_EXP_DEFN __declspec(dllexport)
#endif
+#include <pcre.h>
#include "pcre_internal.h"
#include "pcreposix.h"