summaryrefslogtreecommitdiff
path: root/src/lib/libssl/pqueue.c
diff options
context:
space:
mode:
authorjsing <>2014-05-22 17:37:06 +0000
committerjsing <>2014-05-22 17:37:06 +0000
commit5ac4fd0eaaac32772c817578ee9a2c662fa8f630 (patch)
tree5b8e9cc3ac60b5f781e37b5c9d7f19433c7cf396 /src/lib/libssl/pqueue.c
parent73ba9d7f75a3ade97bc0a8f1bd930293a05fda84 (diff)
downloadopenbsd-5ac4fd0eaaac32772c817578ee9a2c662fa8f630.tar.gz
openbsd-5ac4fd0eaaac32772c817578ee9a2c662fa8f630.tar.bz2
openbsd-5ac4fd0eaaac32772c817578ee9a2c662fa8f630.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 'src/lib/libssl/pqueue.c')
-rw-r--r--src/lib/libssl/pqueue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/libssl/pqueue.c b/src/lib/libssl/pqueue.c
index daf5e21b3a..af8530064f 100644
--- a/src/lib/libssl/pqueue.c
+++ b/src/lib/libssl/pqueue.c
@@ -57,7 +57,9 @@
57 * 57 *
58 */ 58 */
59 59
60#include <stdlib.h>
60#include <string.h> 61#include <string.h>
62
61#include "pqueue.h" 63#include "pqueue.h"
62 64
63typedef struct _pqueue { 65typedef struct _pqueue {