summaryrefslogtreecommitdiff
path: root/include/sound/type_compat.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-20 16:12:50 +0100
committerTakashi Iwai <tiwai@suse.de>2019-12-20 16:43:50 +0100
commit75584fe660880b332fbf60dd7968e2ed8b49a38b (patch)
tree871f55fc48a6228b533813a4058bd2f704d11e25 /include/sound/type_compat.h
parentae564665ec261cf104de499b1cdda3564070fc65 (diff)
downloadalsa-lib-75584fe660880b332fbf60dd7968e2ed8b49a38b.tar.gz
type_compat: Add missing __s64 and __u64 definitions for non-Linux
Just for the case without Linux-compatible definitions. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/type_compat.h')
-rw-r--r--include/sound/type_compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/type_compat.h b/include/sound/type_compat.h
index d4790c1f..5b765f44 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>