void-packages/srcpkgs/alsa-lib/patches/stdint_compat.patch

15 lines
361 B
Diff

Use stdlib.h defined types uint8_t, uint16_t, uint32_t and uint64_t
for compatibility with musl libc
--- a/include/pcm.h 2015-02-26 13:34:52.000000000 +0100
+++ a/include/pcm.h 2015-07-28 13:44:32.423885625 +0200
@@ -29,6 +29,8 @@
#ifndef __ALSA_PCM_H
#define __ALSA_PCM_H
+#include <stdint.h> /* uint_ types */
+
#ifdef __cplusplus
extern "C" {
#endif