[alsa-devel] [PATCH alsa-lib 2/2] type_compat: Add missing __s64 and __u64 definitions for non-Linux

Takashi Iwai tiwai at suse.de
Fri Dec 20 16:38:57 CET 2019


Just for the case without Linux-compatible definitions.

Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
 include/sound/type_compat.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/sound/type_compat.h b/include/sound/type_compat.h
index d4790c1f0e64..5b765f447e2e 100644
--- a/include/sound/type_compat.h
+++ b/include/sound/type_compat.h
@@ -9,9 +9,11 @@
 typedef uint8_t __u8;
 typedef uint16_t __u16;
 typedef uint32_t __u32;
+typedef uint64_t __u64;
 typedef int8_t __s8;
 typedef int16_t __s16;
 typedef int32_t __s32;
+typedef int64_t __s64;
 
 #include <endian.h>
 #include <byteswap.h>
-- 
2.16.4



More information about the Alsa-devel mailing list