summaryrefslogtreecommitdiff
path: root/android/hardware/hardware.c
diff options
context:
space:
mode:
Diffstat (limited to 'android/hardware/hardware.c')
-rw-r--r--android/hardware/hardware.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/hardware/hardware.c b/android/hardware/hardware.c
index 3a45fe1f1..42d03ba52 100644
--- a/android/hardware/hardware.c
+++ b/android/hardware/hardware.c
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+#define _GNU_SOURCE
#include <hardware/hardware.h>
#include <dlfcn.h>