mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-20 22:36:24 +00:00
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:
parent
b39a74ba4e
commit
6cfd16648d
@ -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
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user