diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-01-08 12:07:06 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-01-08 12:07:06 +0100 |
commit | 69196562b596478cdc9c05f1dab03ec8ac63ae13 (patch) | |
tree | 37360dcb3cca4660a11295ee889bc97c774fcb22 | |
parent | fd52bf336ae406b1eba10412e53bb7a49080e55b (diff) | |
download | hda-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.h | 3 |
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; |