Remove pointless Android ifdefs for sys/fcntl.h.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 11 Feb 2012 06:19:16 +0000 (22:19 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 11 Feb 2012 10:48:02 +0000 (11:48 +0100)
On my system, sys/fcntl.h contains exactly one line:

   #include <fcntl.h>

So there's really no need to #ifdef it.  Also, intel_mmio.c already
included <fcntl.h>; there's no need to include it twice.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/intel_drm.c
lib/intel_mmio.c
lib/intel_pci.c

index 4a919d3..36a24fa 100644 (file)
 #include <err.h>
 #include <assert.h>
 #include <sys/ioctl.h>
-#ifdef ANDROID
 #include <fcntl.h>
-#else
-#include <sys/fcntl.h>
-#endif
 #include <sys/stat.h>
 #include <sys/mman.h>
 #ifdef HAVE_STRUCT_SYSINFO_TOTALRAM
index a158b04..b266847 100644 (file)
 #include <err.h>
 #include <assert.h>
 #include <sys/ioctl.h>
-#ifdef ANDROID
-#include <fcntl.h>
-#else
-#include <sys/fcntl.h>
-#endif
 #include <sys/stat.h>
 #include <sys/mman.h>
 
index 08fac3e..7228dae 100644 (file)
 #include <err.h>
 #include <assert.h>
 #include <sys/ioctl.h>
-#ifdef ANDROID
 #include <fcntl.h>
-#else
-#include <sys/fcntl.h>
-#endif
 #include <sys/stat.h>
 #include <sys/mman.h>