Skip to contentSkip to conversation

compress: Add missing header includes

PATCH Applied Richard Fitzgerald 1 participant 2 messages Feb 10, 2013 – Feb 22, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 11/14 compress: Add missing header includes

This fixes build problems caused by dependencies that were not explicitly included.

compress.c +1 -0
index 7ee287d..34936bd 100644
@@ -66,6 +66,7 @@
 #include <sys/time.h>
 #include <limits.h>
 
+#include <linux/types.h>
 #include <linux/ioctl.h>
 #define __force
 #define __bitwise
cplay.c +3 -0
index d2a968c..3af6d13 100644
@@ -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
Signature · 1 line
1.7.2.5
#1 lore raw

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(-)
compress.c +1 -0
index 45b34d0..ebd28db 100644
@@ -66,6 +66,7 @@
 #include <sys/time.h>
 #include <limits.h>
 
+#include <linux/types.h>
 #include <linux/ioctl.h>
 #define __force
 #define __bitwise
cplay.c +3 -0
index d2a968c..3af6d13 100644
@@ -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
Signature · 1 line
1.7.2.5