From 3e41ac35281827b59e55d51058cf6bb086c1f2b5 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 21 Mar 2016 16:54:53 +0000 Subject: Fix no-ocsp Misc fixes for no-ocsp Reviewed-by: Rich Salz --- apps/ocsp.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'apps/ocsp.c') diff --git a/apps/ocsp.c b/apps/ocsp.c index 574ed8c67f..24d88da5c3 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -55,8 +55,12 @@ * Hudson (tjh@cryptsoft.com). * */ -#ifndef OPENSSL_NO_OCSP +#include + +#ifdef OPENSSL_NO_OCSP +NON_EMPTY_TRANSLATION_UNIT +#else # ifdef OPENSSL_SYS_VMS # define _XOPEN_SOURCE_EXTENDED/* So fd_set and friends get properly defined * on OpenVMS */ @@ -69,8 +73,9 @@ # include # include # include -# include "apps.h" /* needs to be included before the openssl - * headers! */ + +/* Needs to be included before the openssl headers */ +# include "apps.h" # include # include # include -- cgit v1.2.3