summaryrefslogtreecommitdiff
path: root/hack/asm-generic/types.h
blob: 78b7b48d0af2151903f4a6bc5106d5a6e7aa9265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Override Linux' (4.16.1) <asm-generic/types.h> to agree with GNU
 * libc's (2.27) <bits/types.h> so that we can use Linux' __u64 and
 * __s64 with libc's PRIu64 and PRId64.
 *
 * Linux 4.16.1 normally uses int-ll64.h unconditionally; we need it
 * to use int-l64.h on platforms where "long" and "long long" are both
 * 64 bits.  */

#if __WORDSIZE == 64
# include <asm-generic/int-l64.h>
#else
# include <asm-generic/int-ll64.h>
#endif