diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-05-22 20:16:04 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-05-22 20:16:04 +0000 |
commit | e2aa95bd3f6319316d751c070fdd1173ea6432df (patch) | |
tree | b029769ae77451e47cf2b94234b60ce4d5f593f9 /lib | |
parent | d4ab93adc5b53beaf686eb2c17202a677c124299 (diff) |
Add explicit #include lines for stdio.h, stdlib.h and string.h; these files
used to be pulled via <openssl/pqueue.h> which got removed, and it turns out
that there is code in the wild which currently relies upon these headers to
be brought in scope by including <openssl/dtls1.h>.
Although such code needs to be fixed to not rely upon any system header being
automagically included by including ssl headers, our goal is not to break
code for the sake of it (ok, maybe from time to time).
Hopefully, this commit can be reverted in a not-so-distant future.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/dtls1.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libssl/dtls1.h b/lib/libssl/dtls1.h index d91b6e6397c..2fbb815b6dc 100644 --- a/lib/libssl/dtls1.h +++ b/lib/libssl/dtls1.h @@ -61,6 +61,9 @@ #define HEADER_DTLS1_H #include <openssl/buffer.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> #include <sys/time.h> #ifdef __cplusplus |