alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
To: vinod.koul@intel.com
Cc: alsa-devel@alsa-project.org
Subject: [PATCH TINYCOMPRESS 11/14] compress: Add missing header includes
Date: Sun, 10 Feb 2013 00:19:33 +0000	[thread overview]
Message-ID: <20130210001933.GK31139@opensource.wolfsonmicro.com> (raw)

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

             reply	other threads:[~2013-02-10  0:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-10  0:19 Richard Fitzgerald [this message]
2013-02-22 16:08 ` [PATCH TINYCOMPRESS 11/14 v2] compress: Add missing header includes Richard Fitzgerald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130210001933.GK31139@opensource.wolfsonmicro.com \
    --to=rf@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=vinod.koul@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).