Remove pointless Android ifdefs for sys/fcntl.h.

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>
This commit is contained in:
Kenneth Graunke
2012-02-10 22:19:16 -08:00
committed by Daniel Vetter
parent b39a74ba4e
commit 6cfd16648d
3 changed files with 0 additions and 13 deletions
-4
View File
@@ -36,11 +36,7 @@
#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
-5
View File
@@ -38,11 +38,6 @@
#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>
-4
View File
@@ -33,11 +33,7 @@
#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>