summaryrefslogtreecommitdiff
path: root/app/openssl/crypto/pqueue
diff options
context:
space:
mode:
Diffstat (limited to 'app/openssl/crypto/pqueue')
-rw-r--r--app/openssl/crypto/pqueue/pqueue.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/openssl/crypto/pqueue/pqueue.h b/app/openssl/crypto/pqueue/pqueue.h
index 87fc9037..26b53480 100644
--- a/app/openssl/crypto/pqueue/pqueue.h
+++ b/app/openssl/crypto/pqueue/pqueue.h
@@ -64,6 +64,9 @@
#include <stdlib.h>
#include <string.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
typedef struct _pqueue *pqueue;
typedef struct _pitem
@@ -91,4 +94,7 @@ pitem *pqueue_next(piterator *iter);
void pqueue_print(pqueue pq);
int pqueue_size(pqueue pq);
+#ifdef __cplusplus
+}
+#endif
#endif /* ! HEADER_PQUEUE_H */