summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2015-02-24 13:39:57 +1100
committerDarren Tucker <dtucker@zip.com.au>2015-02-24 13:39:57 +1100
commitef342ab1ce6fb9a4b30186c89c309d0ae9d0eeb4 (patch)
treee7e7044d451e9ef72f69f9e4ae95d76933b972ce
parentdcc8997d116f615195aa7c9ec019fb36c28c6228 (diff)
Include OpenSSL's objects.h before bn.h.
Prevents compile errors on some platforms (at least old GCCs and AIX's XLC compilers).
-rw-r--r--buffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/buffer.h b/buffer.h
index 9d853edf..df1aebc0 100644
--- a/buffer.h
+++ b/buffer.h
@@ -47,6 +47,7 @@ int buffer_get_ret(Buffer *, void *, u_int);
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 *);