summaryrefslogtreecommitdiff
path: root/databases/libpbl/files/patch-pbl.h
diff options
context:
space:
mode:
Diffstat (limited to 'databases/libpbl/files/patch-pbl.h')
-rw-r--r--databases/libpbl/files/patch-pbl.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/databases/libpbl/files/patch-pbl.h b/databases/libpbl/files/patch-pbl.h
new file mode 100644
index 000000000000..c0db35186869
--- /dev/null
+++ b/databases/libpbl/files/patch-pbl.h
@@ -0,0 +1,26 @@
+--- pbl.h.orig 2011-05-23 18:11:38.000000000 +0200
++++ pbl.h 2011-05-23 18:16:48.000000000 +0200
+@@ -643,7 +643,11 @@
+ /**
+ * The heap.
+ */
++#ifdef __cplusplus
++typedef PblList PblHeap;
++#else
+ typedef struct PblList PblHeap;
++#endif
+
+ /**
+ * The priority queue entry struct.
+@@ -663,7 +667,11 @@
+ /**
+ * The priority queue.
+ */
++#ifdef __cplusplus
++typedef PblList PblPriorityQueue;
++#else
+ typedef struct PblList PblPriorityQueue;
++#endif
+
+ /*****************************************************************************/
+ /* variable declarations */