From 8eb3bb282ea473831cd01333621bba2885dcf65b Mon Sep 17 00:00:00 2001 From: Daniel Mendler Date: Fri, 22 Mar 2019 15:02:29 +0100 Subject: [PATCH] do not include stdio.h if LTM_NO_FILE is defined stdio.h might not be available on constraint environments --- tommath.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tommath.h b/tommath.h index e0eb259..71ecaf5 100644 --- a/tommath.h +++ b/tommath.h @@ -12,11 +12,14 @@ #ifndef BN_H_ #define BN_H_ -#include #include #include #include +#ifndef LTM_NO_FILE +# include +#endif + #include "tommath_class.h" #ifdef __cplusplus