Fix no-ts with --strict-warnings
authorMatt Caswell <matt@openssl.org>
Mon, 21 Mar 2016 16:24:30 +0000 (16:24 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 21 Mar 2016 16:35:58 +0000 (16:35 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/ts.c

index 1872422468695d7d1dc6b1a5c6f0015a7fa5c857..44e6004c7855dfc1bd228fddc7a94ba24c3b16a2 100644 (file)
--- a/apps/ts.c
+++ b/apps/ts.c
@@ -57,8 +57,9 @@
  */
 
 #include <openssl/opensslconf.h>
-#ifndef OPENSSL_NO_TS
-
+#ifdef OPENSSL_NO_TS
+NON_EMPTY_TRANSLATION_UNIT
+#else
 # include <stdio.h>
 # include <stdlib.h>
 # include <string.h>