Skip to contentSkip to conversation

local.h: include sys/types.h to fix issues with pcm.h

PATCH Applied John Spencer 2 participants 2 messages Oct 10, 2013 – Oct 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 local.h: include sys/types.h to fix issues with pcm.h

sys/types.h is required for the u_int_XX types used by pcm.h. since a change in pcm.h is not desired, we add the inclusion to the header that includes pcm.h during build.

---
 include/local.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/local.h +1 -0
index f0db188..9464efa 100644
@@ -31,6 +31,7 @@
 #include <endian.h>
 #include <stdarg.h>
 #include <sys/poll.h>
+#include <sys/types.h>
 #include <errno.h>
 #include <linux/types.h>
 #include <linux/ioctl.h>
Signature · 1 line
1.7.3.4
Applied
#1 lore raw

At Thu, 10 Oct 2013 18:56:22 +0200,

Quoted 6 lines · John Spencer

sys/types.h is required for the u_int_XX types used by pcm.h. since a change in pcm.h is not desired, we add the inclusion to the header that includes pcm.h during build.

Thanks, applied now.

Takashi

Quoted 24 lines
---
 include/local.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/local.h +1 -0
index f0db188..9464efa 100644
@@ -31,6 +31,7 @@
 #include <endian.h>
 #include <stdarg.h>
 #include <sys/poll.h>
+#include <sys/types.h>
 #include <errno.h>
 #include <linux/types.h>
 #include <linux/ioctl.h>
Signature · 6 lines
1.7.3.4

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel