opnsense-ports/databases/libpbl/files/patch-pbl.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

26 lines
611 B
C

--- 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 */