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>
#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
#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>
#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>