aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/pqueue
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/pqueue')
-rw-r--r--openssl/crypto/pqueue/pqueue.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/openssl/crypto/pqueue/pqueue.h b/openssl/crypto/pqueue/pqueue.h
index 87fc9037c..26b534808 100644
--- a/openssl/crypto/pqueue/pqueue.h
+++ b/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 */