summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-03-09 13:16:31 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-03-09 13:16:31 -0400
commit80b10107cb2703d63fb14c90e2be442c0724836d (patch)
tree5563bad0a2942744d7749fb46fe84308f63bb742
parent81ecc0c3e7b5290ceae8d553e61e439728d49dbc (diff)
builtins: add <linux/fcntl.h> for uclibc
-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, 5 insertions, 0 deletions
diff --git a/src/accelerometer/accelerometer.c b/src/accelerometer/accelerometer.c
index 925d38de1f..f65631a99c 100644
--- a/src/accelerometer/accelerometer.c
+++ b/src/accelerometer/accelerometer.c
@@ -57,6 +57,7 @@
#include <limits.h>
#include <linux/limits.h>
#include <linux/input.h>
+#include <linux/fcntl.h>
#include "libudev.h"
#include "libudev-private.h"
diff --git a/src/ata_id/ata_id.c b/src/ata_id/ata_id.c
index f84281dd1a..a25c713a6c 100644
--- a/src/ata_id/ata_id.c
+++ b/src/ata_id/ata_id.c
@@ -39,6 +39,7 @@
#include <linux/fs.h>
#include <linux/cdrom.h>
#include <linux/bsg.h>
+#include <linux/fcntl.h>
#include <arpa/inet.h>
#include "libudev.h"
diff --git a/src/collect/collect.c b/src/collect/collect.c
index 4ecb6b0d19..fbaf87f5f5 100644
--- a/src/collect/collect.c
+++ b/src/collect/collect.c
@@ -30,6 +30,7 @@
#include <getopt.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <linux/fcntl.h>
#include "libudev.h"
#include "libudev-private.h"
diff --git a/src/mtd_probe/mtd_probe.c b/src/mtd_probe/mtd_probe.c
index 13c757bd1c..e604a72101 100644
--- a/src/mtd_probe/mtd_probe.c
+++ b/src/mtd_probe/mtd_probe.c
@@ -25,6 +25,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
+#include <linux/fcntl.h>
int main(int argc, char** argv)
{
diff --git a/src/scsi_id/scsi_serial.c b/src/scsi_id/scsi_serial.c
index 378a73d863..b60b154d2d 100644
--- a/src/scsi_id/scsi_serial.c
+++ b/src/scsi_id/scsi_serial.c
@@ -33,6 +33,7 @@
#include <scsi/sg.h>
#include <linux/types.h>
#include <linux/bsg.h>
+#include <linux/fcntl.h>
#include "libudev.h"
#include "libudev-private.h"