[alsa-devel] [PATCH TINYCOMPRESS 11/14] compress: Add missing header includes
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
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
participants (1)
-
Richard Fitzgerald