summaryrefslogtreecommitdiff
path: root/pcre_stringpiece.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'pcre_stringpiece.h.in')
-rw-r--r--pcre_stringpiece.h.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/pcre_stringpiece.h.in b/pcre_stringpiece.h.in
index 7cc074d..708fd0f 100644
--- a/pcre_stringpiece.h.in
+++ b/pcre_stringpiece.h.in
@@ -50,11 +50,13 @@
#include <bits/type_traits.h>
#endif
+#include <pcre.h>
+
using std::string;
namespace pcrecpp {
-class StringPiece {
+class PCRECPP_EXP_DEFN StringPiece {
private:
const char* ptr_;
int length_;