From 4e10b004887054f361854428b75f66b32ed0e105 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 15 May 2018 23:04:04 -0400 Subject: clean up the u64 hack --- hack/asm-generic/types.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 hack/asm-generic/types.h (limited to 'hack') diff --git a/hack/asm-generic/types.h b/hack/asm-generic/types.h new file mode 100644 index 0000000..ae07283 --- /dev/null +++ b/hack/asm-generic/types.h @@ -0,0 +1,9 @@ +/* Override Linux' (4.16.1) to agree with GNU + * libc's (2.27) so that we can use Linux' __u64 and + * __s64 with libc's PRIu64 and PRUi64. */ + +#if __WORDSIZE == 64 +# include +#else +# include +#endif -- cgit v1.2.3