]> granicus.if.org Git - check/commitdiff
Move stdint include to libcompat
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 22 Sep 2013 17:22:47 +0000 (17:22 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Sun, 22 Sep 2013 17:22:47 +0000 (17:22 +0000)
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
src/check_pack.c

index 4d479cbc8113902f5ed473976c8bb2fe4a340a8a..b65bdda1844ccda99089843be61f75004dd1fe01 100644 (file)
 #include <pthread.h>
 #endif
 
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
 /* replacement functions for broken originals */
 #if !HAVE_DECL_ALARM
 unsigned int alarm (unsigned int seconds);
index 2f61d5a3da8b762d85ddbd5c436c1c98be433eef..50f6a9cb2dfc6d2e4491327300feccffd3c56e33 100644 (file)
 #include <string.h>
 #include <stdio.h>
 
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif
-
 #include "check.h"
 #include "check_error.h"
 #include "check_list.h"