Skip to contentSkip to conversation

pcm.h: include sys/types.h, necessary for u_int_XX types

PATCH New John Spencer 1 participant 1 message Oct 10, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 pcm.h: include sys/types.h, necessary for u_int_XX types

fixes compilation on musl libc.

---
 include/pcm.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/pcm.h +2 -0
index 95b8aed..7ea9e84 100644
@@ -29,6 +29,8 @@
 #ifndef __ALSA_PCM_H
 #define __ALSA_PCM_H
 
+#include <sys/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
Signature · 1 line
1.7.3.4