From c423b91b9228e42d95f0715a89b0a097f660ce04 Mon Sep 17 00:00:00 2001 From: clanmills Date: Sat, 2 May 2020 14:41:03 +0100 Subject: [PATCH] Change config.h to compile isatty() and getpid() on macOS when -DCMAKE_CXX_STANDARD=98 --- include/exiv2/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/exiv2/config.h b/include/exiv2/config.h index 3255d3d5..6d861e8f 100644 --- a/include/exiv2/config.h +++ b/include/exiv2/config.h @@ -95,9 +95,9 @@ typedef int pid_t; // https://softwareengineering.stackexchange.com/questions/291141/how-to-handle-design-changes-for-auto-ptr-deprecation-in-c11 #include +#include +#include #if __cplusplus >= 201103L - #include - #include template using auto_ptr = std::unique_ptr; #else