From adbadc70f46c12ae071bc3c030a82b4b353bc4a4 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Sun, 18 Nov 2018 01:30:51 +0300 Subject: [PATCH] Fix includes Header files which are located in the same directory that the file from where it is included must be included using `" "`, not `< >`. Otherwise the compiler (gcc 5) cannot understand `#include ` in `/usr/include/tommath/tommath.h`. --- tommath.h | 2 +- tommath_class.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tommath.h b/tommath.h index 04274eb..258da57 100644 --- a/tommath.h +++ b/tommath.h @@ -18,7 +18,7 @@ #include #include -#include +#include "tommath_class.h" #ifdef __cplusplus extern "C" { diff --git a/tommath_class.h b/tommath_class.h index d9d0e72..6885e23 100644 --- a/tommath_class.h +++ b/tommath_class.h @@ -1121,8 +1121,8 @@ # define LTM_LAST #endif -#include -#include +#include "tommath_superclass.h" +#include "tommath_class.h" #else # define LTM_LAST #endif