From 3a6a8d70fcaf5f4fcf8b8c4b95dd459f5e5e8e56 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 17 May 2017 11:49:43 +0200 Subject: [PATCH] Replace Standard C library header files by C++ header files Replacing inttypes.h by cinttypes fixes a problem with glibc < 2.18: In older inttypes.h, the standard C format macros are only defined for C++ when the macro __STDC_FORMAT_MACROS is set. Signed-off-by: Stefan Weil --- ccutil/host.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccutil/host.h b/ccutil/host.h index 95bdee249b..ee7cb95b99 100644 --- a/ccutil/host.h +++ b/ccutil/host.h @@ -68,8 +68,8 @@ #undef max #endif -#include // PRId32, ... -#include // int32_t, ... +#include // PRId32, ... +#include // int32_t, ... /********************************************************/ /* __MAC__ */