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/scsi_id/scsi_serial.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/scsi_id') diff --git a/src/scsi_id/scsi_serial.c b/src/scsi_id/scsi_serial.c index 7c5f7a35ef..b9a94e66e6 100644 --- a/src/scsi_id/scsi_serial.c +++ b/src/scsi_id/scsi_serial.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -32,7 +33,10 @@ #include #include #include + +#ifdef __UCLIBC__ #include +#endif #include "libudev.h" #include "libudev-private.h" -- cgit v1.2.3-54-g00ecf