From: brarcher Date: Sun, 22 Sep 2013 17:22:47 +0000 (+0000) Subject: Move stdint include to libcompat X-Git-Tag: 0.10.0~452 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ed5cf0fce77dd0f162e94a1d21d792ffe87f525f;p=check 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 --- 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"