summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto/sha/sha.h
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-05-24 09:16:07 +0000
committerjsing <jsing@openbsd.org>2014-05-24 09:16:07 +0000
commit20175b857a0c3817cfda731930e8b4bca7ad6b00 (patch)
tree58413d16b4c5c269a24ca27b994889dcb17837ee /lib/libssl/src/crypto/sha/sha.h
parentExpand OPENSSL_{GLOBAL,EXTERN} macros that I missed last time around, (diff)
downloadwireguard-openbsd-20175b857a0c3817cfda731930e8b4bca7ad6b00.tar.xz
wireguard-openbsd-20175b857a0c3817cfda731930e8b4bca7ad6b00.zip
Almost nothing actually needs to include <openssl/e_os2.h>, however by
including it they get <openssl/opensslconf.h>. So instead of pulling in <openssl/e_os2.h>, just pull in <openssl/opensslconf.h>. "go ahead" miod@
Diffstat (limited to 'lib/libssl/src/crypto/sha/sha.h')
-rw-r--r--lib/libssl/src/crypto/sha/sha.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/sha/sha.h b/lib/libssl/src/crypto/sha/sha.h
index c0c3c16c08a..43c46b5e690 100644
--- a/lib/libssl/src/crypto/sha/sha.h
+++ b/lib/libssl/src/crypto/sha/sha.h
@@ -59,9 +59,10 @@
#ifndef HEADER_SHA_H
#define HEADER_SHA_H
-#include <openssl/e_os2.h>
#include <stddef.h>
+#include <openssl/opensslconf.h>
+
#ifdef __cplusplus
extern "C" {
#endif