Don't include x509.h when we just need asn1.h
[openssl.git] / crypto / asn1 / asn1_par.c
index fd36b4c13dc895dcd1b25b2722ae8ea44aa0bf03..86886606ef6f2c5b2c9eaa27fec6173fb280e2b4 100644 (file)
 #include "cryptlib.h"
 #include <openssl/buffer.h>
 #include <openssl/objects.h>
-#include <openssl/x509.h>
+#include <openssl/asn1.h>
 
-#ifndef NOPROTO
 static int asn1_print_info(BIO *bp, int tag, int xclass,int constructed,
        int indent);
 static int asn1_parse2(BIO *bp, unsigned char **pp, long length,
        int offset, int depth, int indent);
-#else
-static int asn1_print_info();
-static int asn1_parse2();
-#endif
-
 static int asn1_print_info(BIO *bp, int tag, int xclass, int constructed,
             int indent)
        {