From bda2d7559f18b2e02050dc433c5ff70cec8e3362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 16 Jan 2021 00:25:29 +0100 Subject: Add sys/time.h and time.h header detection to resolve FTBFS. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/torkview.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/torkview.cpp b/src/torkview.cpp index ff76276..8aa8ba1 100644 --- a/src/torkview.cpp +++ b/src/torkview.cpp @@ -44,7 +44,12 @@ #include #include -#include +#if defined(HAVE_SYS_TIME_H) +# include +#endif +#if defined(TIME_WITH_SYS_TIME) +# include +#endif /* Linux-specific includes */ #include -- cgit v1.2.1