From 974354dee5f5abdea22958c3d57f41d9425f1a8c Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Sat, 22 Mar 2014 18:07:36 -0400 Subject: Revisit issue #87: fails to build on linux headers 3.13 Dropping in favor of is incorrect. Yet uClibc needs O_CLOEXEC from . So we re-introduce and include only on uClibc systems to avoid redefinitions. Signed-off-by: Anthony G. Basile --- src/ata_id/ata_id.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/ata_id/ata_id.c') diff --git a/src/ata_id/ata_id.c b/src/ata_id/ata_id.c index 500669ce94..93dbb53b10 100644 --- a/src/ata_id/ata_id.c +++ b/src/ata_id/ata_id.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -38,9 +39,12 @@ #include #include #include -#include #include +#ifdef __UCLIBC__ +#include +#endif + #include "libudev.h" #include "libudev-private.h" #include "log.h" -- cgit v1.2.3-54-g00ecf