From ed5cf0fce77dd0f162e94a1d21d792ffe87f525f Mon Sep 17 00:00:00 2001 From: brarcher Date: Sun, 22 Sep 2013 17:22:47 +0000 Subject: [PATCH] Move stdint include to libcompat It has a #ifdef surrounding it, it is better to have it in one place then. git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@762 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- lib/libcompat.h | 4 ++++ src/check_pack.c | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libcompat.h b/lib/libcompat.h index 4d479cb..b65bdda 100644 --- a/lib/libcompat.h +++ b/lib/libcompat.h @@ -49,6 +49,10 @@ #include #endif +#ifdef HAVE_STDINT_H +#include +#endif + /* replacement functions for broken originals */ #if !HAVE_DECL_ALARM unsigned int alarm (unsigned int seconds); diff --git a/src/check_pack.c b/src/check_pack.c index 2f61d5a..50f6a9c 100644 --- a/src/check_pack.c +++ b/src/check_pack.c @@ -24,10 +24,6 @@ #include #include -#ifdef HAVE_STDINT_H -#include -#endif - #include "check.h" #include "check_error.h" #include "check_list.h" -- 2.40.0