[alsa-devel] [PATCH TINYCOMPRESS 11/14] compress: Add missing header includes
Richard Fitzgerald
rf at opensource.wolfsonmicro.com
Sun Feb 10 01:19:33 CET 2013
This fixes build problems caused by dependencies that were
not explicitly included.
diff --git a/compress.c b/compress.c
index 7ee287d..34936bd 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