Commit b39a74ba authored by Sateesh Kavuri's avatar Sateesh Kavuri Committed by Daniel Vetter

Added support for Android

 Added the Android.mk file as per Android make system. Also had to modify
 the headers with the proper location for fcntl.h as per the Android
 bionic headers location
Signed-off-by: default avatarSateesh Kavuri <sateesh.kavuri@intel.com>
Signed-off-by: Daniel Vetter's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 2065ca15
This diff is collapsed.
......@@ -36,7 +36,11 @@
#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,7 +38,11 @@
#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,7 +33,11 @@
#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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment