summaryrefslogtreecommitdiff
path: root/lib/intel_mmio.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-02-10 22:19:16 -0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-02-11 11:48:02 +0100
commit6cfd16648d8d229c4ab474e4beff1cc131287238 (patch)
treea6fc9f83316ccc7baee1dfaea0d3433b7afeb260 /lib/intel_mmio.c
parentb39a74ba4ef36889465b03c93d3d4940b21af465 (diff)
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>
Diffstat (limited to 'lib/intel_mmio.c')
-rw-r--r--lib/intel_mmio.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/intel_mmio.c b/lib/intel_mmio.c
index a158b047..b266847e 100644
--- a/lib/intel_mmio.c
+++ b/lib/intel_mmio.c
@@ -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>