From 02fb2aa97bb2681264d60d32f2492462ddc57446 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Sat, 16 Jun 2018 13:12:19 +0000 Subject: [PATCH] Fix: Corrected the include of and to match IEEE Std 1003.1-2017 ("POSIX 7") --- src/compat.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/compat.h b/src/compat.h index a5e43ed3..c876601e 100644 --- a/src/compat.h +++ b/src/compat.h @@ -47,9 +47,10 @@ # define PRId64 "I64d" #else # define PATH_SEPARATOR "/" -# if defined(HAVE_STDINT_H) +# ifdef HAVE_STDINT_H # include -# elif defined(HAVE_INTTYPES_H) +# endif +# ifdef HAVE_INTTYPES_H # include # endif #endif