[alsa-devel] [PATCH TINYCOMPRESS 11/14 v2] compress: Add missing header includes
Richard Fitzgerald
rf at opensource.wolfsonmicro.com
Fri Feb 22 17:08:01 CET 2013
This fixes build problems caused by dependencies that were
not explicitly included.
---
compress.c | 1 +
cplay.c | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/compress.c b/compress.c
index 45b34d0..ebd28db 100644
--- a/compress.c
+++ b/compress.c
@@ -66,6 +66,7 @@
#include <sys/time.h>
#include <limits.h>
+#include <linux/types.h>
#include <linux/ioctl.h>
#define __force
#define __bitwise
diff --git a/cplay.c b/cplay.c
index d2a968c..3af6d13 100644
--- a/cplay.c
+++ b/cplay.c
@@ -51,6 +51,8 @@
* 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include <stdint.h>
+#include <linux/types.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
@@ -60,6 +62,7 @@
#include <signal.h>
#include <stdbool.h>
#include <getopt.h>
+#include <sys/time.h>
#define __force
#define __bitwise
#define __user
--
1.7.2.5
More information about the Alsa-devel
mailing list