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/mtd_probe/mtd_probe.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mtd_probe/mtd_probe.c') diff --git a/src/mtd_probe/mtd_probe.c b/src/mtd_probe/mtd_probe.c index bab2e8e97e..ffba0eb51f 100644 --- a/src/mtd_probe/mtd_probe.c +++ b/src/mtd_probe/mtd_probe.c @@ -22,9 +22,13 @@ #include #include #include +#include #include #include + +#ifdef __UCLIBC__ #include +#endif int main(int argc, char** argv) { -- cgit v1.2.3-54-g00ecf