summaryrefslogtreecommitdiff
path: root/freebsd/crypto/openssl/apps/x509.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/crypto/openssl/apps/x509.c')
-rw-r--r--freebsd/crypto/openssl/apps/x509.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/freebsd/crypto/openssl/apps/x509.c b/freebsd/crypto/openssl/apps/x509.c
index 94f0b794..b57d2229 100644
--- a/freebsd/crypto/openssl/apps/x509.c
+++ b/freebsd/crypto/openssl/apps/x509.c
@@ -1,4 +1,8 @@
#include <machine/rtems-bsd-user-space.h>
+#ifdef __rtems__
+#include <machine/rtems-bsd-program.h>
+#include "rtems-bsd-openssl-namespace.h"
+#endif /* __rtems__ */
/*
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
@@ -1196,3 +1200,6 @@ static int print_x509v3_exts(BIO *bio, X509 *x, const char *ext_names)
OPENSSL_free(tmp_ext_names);
return ret;
}
+#ifdef __rtems__
+#include "rtems-bsd-openssl-x509-data.h"
+#endif /* __rtems__ */