commit | ef342ab1ce6fb9a4b30186c89c309d0ae9d0eeb4 | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@zip.com.au> | Tue Feb 24 13:39:57 2015 +1100 |
committer | Darren Tucker <dtucker@zip.com.au> | Tue Feb 24 13:39:57 2015 +1100 |
tree | e7e7044d451e9ef72f69f9e4ae95d76933b972ce | |
parent | dcc8997d116f615195aa7c9ec019fb36c28c6228 [diff] [blame] |
Include OpenSSL's objects.h before bn.h. Prevents compile errors on some platforms (at least old GCCs and AIX's XLC compilers).
diff --git a/buffer.h b/buffer.h index 9d853ed..df1aebc 100644 --- a/buffer.h +++ b/buffer.h
@@ -47,6 +47,7 @@ int buffer_consume_ret(Buffer *, u_int); int buffer_consume_end_ret(Buffer *, u_int); +#include <openssl/objects.h> #include <openssl/bn.h> void buffer_put_bignum(Buffer *, const BIGNUM *); void buffer_put_bignum2(Buffer *, const BIGNUM *);