Avoid having to use -I trickery to find public header files included as
though they are private.
---
src/crypto/bn/bn_const.c | 2 +-
src/crypto/chacha/chacha.c | 2 +-
src/crypto/o_init.c | 2 +-
src/crypto/poly1305/poly1305.c | 2 +-
src/crypto/ts/ts_lib.c | 2 +-
src/crypto/ts/ts_rsp_print.c | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/crypto/bn/bn_const.c b/src/crypto/bn/bn_const.c
index 1c8bc9b..2ba2bbd 100644
--- a/src/crypto/bn/bn_const.c
+++ b/src/crypto/bn/bn_const.c
@@ -1,7 +1,7 @@
/* crypto/bn/knownprimes.c */
/* Insert boilerplate */
-#include "bn.h"
+#include <openssl/bn.h>
/* "First Oakley Default Group" from RFC2409, section 6.1.
*
diff --git a/src/crypto/chacha/chacha.c b/src/crypto/chacha/chacha.c
index 1bc95f5..f0e818e 100644
--- a/src/crypto/chacha/chacha.c
+++ b/src/crypto/chacha/chacha.c
@@ -14,7 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "chacha.h"
+#include <openssl/chacha.h>
#include "chacha-merged.c"
void
diff --git a/src/crypto/o_init.c b/src/crypto/o_init.c
index 09c9820..2c95a9e 100644
--- a/src/crypto/o_init.c
+++ b/src/crypto/o_init.c
@@ -1,5 +1,5 @@
/* Ted Unangst places this file in the public domain. */
-#include <crypto.h>
+#include <openssl/crypto.h>
void
OPENSSL_init(void)
diff --git a/src/crypto/poly1305/poly1305.c b/src/crypto/poly1305/poly1305.c
index 96083fe..c2c3906 100644
--- a/src/crypto/poly1305/poly1305.c
+++ b/src/crypto/poly1305/poly1305.c
@@ -14,7 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include "poly1305.h"
+#include <openssl/poly1305.h>
#include "poly1305-donna.c"
void
diff --git a/src/crypto/ts/ts_lib.c b/src/crypto/ts/ts_lib.c
index b9d92a3..5018e95 100644
--- a/src/crypto/ts/ts_lib.c
+++ b/src/crypto/ts/ts_lib.c
@@ -61,7 +61,7 @@
#include <openssl/objects.h>
#include <openssl/bn.h>
#include <openssl/x509v3.h>
-#include "ts.h"
+#include <openssl/ts.h>
/* Local function declarations. */
diff --git a/src/crypto/ts/ts_rsp_print.c b/src/crypto/ts/ts_rsp_print.c
index 248674f..6615e20 100644
--- a/src/crypto/ts/ts_rsp_print.c
+++ b/src/crypto/ts/ts_rsp_print.c
@@ -61,7 +61,7 @@
#include <openssl/objects.h>
#include <openssl/bn.h>
#include <openssl/x509v3.h>
-#include "ts.h"
+#include <openssl/ts.h>
struct status_map_st {
int bit;
--
1.9.3