From 8cb40361c0de1cf5db3b4dcfed60645504eecabf Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 6 Mar 2010 20:50:29 +0100 Subject: libbb/loop.c: use common fix_u32.h trick Signed-off-by: Denys Vlasenko --- libbb/loop.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'libbb/loop.c') diff --git a/libbb/loop.c b/libbb/loop.c index a11933f35..07d16e011 100644 --- a/libbb/loop.c +++ b/libbb/loop.c @@ -8,6 +8,7 @@ * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. */ #include "libbb.h" +#include "fix_u32.h" /* hack, so we may include kernel's linux/loop.h */ #include #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) @@ -15,11 +16,6 @@ /* For 2.6, use the cleaned up header to get the 64 bit API. */ /* linux/loop.h relies on __u64. Make sure we have that as a proper type * until userspace is widely fixed. */ -# if (defined __INTEL_COMPILER && !defined __GNUC__) \ - || (defined __GNUC__ && defined __STRICT_ANSI__) -__extension__ typedef long long __s64; -__extension__ typedef unsigned long long __u64; -# endif # include typedef struct loop_info64 bb_loop_info; # define BB_LOOP_SET_STATUS LOOP_SET_STATUS64 -- cgit v1.2.3