patch-src_accelerometer_accelerometer_c 416 B

12345678910111213
  1. --- eudev-1.5.3.orig/src/accelerometer/accelerometer.c 2014-03-22 22:56:51.000000000 +0100
  2. +++ eudev-1.5.3/src/accelerometer/accelerometer.c 2014-03-24 20:41:59.000000000 +0100
  3. @@ -58,8 +58,8 @@
  4. #include <linux/limits.h>
  5. #include <linux/input.h>
  6. -#ifdef __UCLIBC__
  7. -#include <linux/fcntl.h>
  8. +#if defined(__UCLIBC__)
  9. +#define O_CLOEXEC 02000000 /* set close_on_exec */
  10. #endif
  11. #include "libudev.h"