summaryrefslogtreecommitdiffstats
path: root/lib/libssl/pqueue.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-05-22 17:37:06 +0000
committerjsing <jsing@openbsd.org>2014-05-22 17:37:06 +0000
commit46859c4ae3ce9df5df3916ad04aecab1c483219b (patch)
treeda8c0505c1d1630ba98672835414979f8cc27e0b /lib/libssl/pqueue.c
parentStop including kssl_lcl.h and nuke it from orbit - it is a no-op now. (diff)
downloadwireguard-openbsd-46859c4ae3ce9df5df3916ad04aecab1c483219b.tar.xz
wireguard-openbsd-46859c4ae3ce9df5df3916ad04aecab1c483219b.zip
Stop pulling pqueue.h into ssl_locl.h since only a small part of libssl
actually needs it. Instead, just include it in the files where it is actually necessary. Also remove standard includes from pqueue.h so that they are not available as a side effect. Just add the two includes that are needed to pqueue.c. ok miod@
Diffstat (limited to 'lib/libssl/pqueue.c')
-rw-r--r--lib/libssl/pqueue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libssl/pqueue.c b/lib/libssl/pqueue.c
index daf5e21b3ae..af8530064fe 100644
--- a/lib/libssl/pqueue.c
+++ b/lib/libssl/pqueue.c
@@ -57,7 +57,9 @@
*
*/
+#include <stdlib.h>
#include <string.h>
+
#include "pqueue.h"
typedef struct _pqueue {