[alsa-devel] [PATCH] pcm.h: include sys/types.h, necessary for u_int_XX types

John Spencer maillist-alsa at barfooze.de
Thu Oct 10 15:17:40 CEST 2013


fixes compilation on musl libc.
---
 include/pcm.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/pcm.h b/include/pcm.h
index 95b8aed..7ea9e84 100644
--- a/include/pcm.h
+++ b/include/pcm.h
@@ -29,6 +29,8 @@
 #ifndef __ALSA_PCM_H
 #define __ALSA_PCM_H
 
+#include <sys/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
-- 
1.7.3.4



More information about the Alsa-devel mailing list