24 lines
656 B
Diff
24 lines
656 B
Diff
From 7b4c3ce3407c47619cd4e79052d60db4ce937327 Mon Sep 17 00:00:00 2001
|
|
From: Dennis Schridde <devurandom@gmx.net>
|
|
Date: Thu, 12 Jul 2018 06:52:36 +0200
|
|
Subject: [PATCH] COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h:
|
|
Include pcre.h
|
|
|
|
This fixes a compilation error with libpcre-8.42:
|
|
```
|
|
error: conflicting declaration 'typedef struct real_pcre8_or_16 pcre'
|
|
```
|
|
|
|
--- a/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h
|
|
+++ b/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h
|
|
@@ -13,8 +13,7 @@
|
|
|
|
#include "COLLADABUPrerequisites.h"
|
|
|
|
-struct real_pcre;
|
|
-typedef struct real_pcre pcre;
|
|
+#include <pcre.h>
|
|
|
|
|
|
namespace COLLADABU
|