commit | 2292d1fad0468f1072b5302ffeb6c52e36f89063 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Sun Sep 15 17:06:49 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Sun Sep 15 17:06:49 2013 +0200 |
tree | 9b4bc5eae9ef565f4521a1de473f676b8abe73b3 | |
parent | de56ca109799673b0c88c5127ca05186d3331db0 [diff] [blame] |
Fixed warnings in case POLARSSL_X509_PARSE_C is not defined
diff --git a/library/oid.c b/library/oid.c index 81b313e..0386ba1 100644 --- a/library/oid.c +++ b/library/oid.c
@@ -32,6 +32,10 @@ #include "polarssl/oid.h" #include "polarssl/rsa.h" +#if defined(POLARSSL_X509_PARSE_C) || defined(POLARSSL_X509_WRITE_C) +#include "polarssl/x509.h" +#endif + #include <stdio.h> /*