Fix warnings when compiling tests
On certain architectures, like ppc64, __u64 is a typedef of unsigned long
rather than unsigned long long, which causes warnings when compiling tests
that use the %llu printf specifier.
If __SANE_USERSPACE_TYPES__ is defined before including <linux/types.h>,
__u64 will instead be a typedef of unsigned long long.
@@ -5,7 +5,7 @@ INSTALL=install
CFLAGS ?= -g -O2
XCFLAGS =
-override CFLAGS += -Wall -D_GNU_SOURCE -L../src/ -I../src/include/ -include ../config-host.h
+override CFLAGS += -Wall -D_GNU_SOURCE -L../src/ -I../src/include/ -include ../config-host.h -D__SANE_USERSPACE_TYPES__
all_targets += poll poll-cancel ring-leak fsync io_uring_setup io_uring_register \
io_uring_enter nop sq-full cq-full 35fa71a030ca-test \
