aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-01-08 12:07:06 +0100
committerTakashi Iwai <tiwai@suse.de>2022-01-08 12:07:06 +0100
commit69196562b596478cdc9c05f1dab03ec8ac63ae13 (patch)
tree37360dcb3cca4660a11295ee889bc97c774fcb22
parentfd52bf336ae406b1eba10412e53bb7a49080e55b (diff)
downloadhda-emu-69196562b596478cdc9c05f1dab03ec8ac63ae13.tar.gz
Include linux/stddef.h
Drop the own true/false definitions as well Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/wrapper.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/wrapper.h b/include/wrapper.h
index 8da4114..b2924f9 100644
--- a/include/wrapper.h
+++ b/include/wrapper.h
@@ -6,6 +6,7 @@
#include <stdarg.h>
#include <linux/delay.h>
+#include <linux/stddef.h>
#define min(x, y) ({ \
typeof(x) _min1 = (x); \
@@ -142,8 +143,6 @@ typedef u32 __be32;
typedef unsigned long cycle_t;
typedef _Bool bool;
-#define true 1
-#define false 0
typedef unsigned long dma_addr_t;