mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
Bug 1428182 - 3. Only include <linux/elf.h> for non-unified headers; r=glandium
Unified headers have a complete <elf.h> so we should include that instead of <linux/elf.h>. MozReview-Commit-ID: DkQv2vk1Q62 --HG-- extra : rebase_source : 43b3fa15042246d2c3ec37a3ca904822b0f68d0c
This commit is contained in:
parent
9f9eafdcd0
commit
3e76d4e233
@ -7,9 +7,9 @@
|
||||
|
||||
/**
|
||||
* Android system headers have two different elf.h file. The one under linux/
|
||||
* is the most complete on older android API versions.
|
||||
* is the most complete on older Android API versions without unified headers.
|
||||
*/
|
||||
#if defined(ANDROID) && __ANDROID_API__ < 21
|
||||
#if defined(ANDROID) && __ANDROID_API__ < 21 && !defined(__ANDROID_API_L__)
|
||||
#include <linux/elf.h>
|
||||
#else
|
||||
#include <elf.h>
|
||||
|
Loading…
Reference in New Issue
Block a user