summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-03-15 08:16:41 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-03-15 08:16:41 -0400
commitc5a77c7d10bafac25deca8e3c36946df0dc43071 (patch)
tree9fe075a080296c13ed0fc4d56db1e5d98d89b632 /src
parentac1546da719c57e6e0ae2db1b9bae1dfbe329429 (diff)
Fix issue #87: fails to build on linux headers 3.13
Commit 80b10107cb added #include <linux/fcntl.h> in src/accelerometer and friends for builds on uclibc. This only works with glibc and musl systems with linux headers 3.9 but fails with linux headers 3.13. We keep <linux/fcntl.h> but drop <fcntl.h>. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r--src/accelerometer/accelerometer.c1
-rw-r--r--src/ata_id/ata_id.c1
-rw-r--r--src/collect/collect.c1
-rw-r--r--src/mtd_probe/mtd_probe.c1
-rw-r--r--src/scsi_id/scsi_serial.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/src/accelerometer/accelerometer.c b/src/accelerometer/accelerometer.c
index f65631a99c..386775b619 100644
--- a/src/accelerometer/accelerometer.c
+++ b/src/accelerometer/accelerometer.c
@@ -50,7 +50,6 @@
#include <math.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <getopt.h>
diff --git a/src/ata_id/ata_id.c b/src/ata_id/ata_id.c
index a25c713a6c..500669ce94 100644
--- a/src/ata_id/ata_id.c
+++ b/src/ata_id/ata_id.c
@@ -23,7 +23,6 @@
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
-#include <fcntl.h>
#include <ctype.h>
#include <string.h>
#include <errno.h>
diff --git a/src/collect/collect.c b/src/collect/collect.c
index fbaf87f5f5..7fefc62c10 100644
--- a/src/collect/collect.c
+++ b/src/collect/collect.c
@@ -24,7 +24,6 @@
#include <stddef.h>
#include <unistd.h>
#include <signal.h>
-#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include <getopt.h>
diff --git a/src/mtd_probe/mtd_probe.c b/src/mtd_probe/mtd_probe.c
index e604a72101..bab2e8e97e 100644
--- a/src/mtd_probe/mtd_probe.c
+++ b/src/mtd_probe/mtd_probe.c
@@ -22,7 +22,6 @@
#include <mtd/mtd-user.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <linux/fcntl.h>
diff --git a/src/scsi_id/scsi_serial.c b/src/scsi_id/scsi_serial.c
index b60b154d2d..7c5f7a35ef 100644
--- a/src/scsi_id/scsi_serial.c
+++ b/src/scsi_id/scsi_serial.c
@@ -23,7 +23,6 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
-#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <syslog.h>