aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-05-21 13:25:01 -0700
committerDan Albert <danalbert@google.com>2014-05-21 14:13:51 -0700
commit099d521cd29b2cf5fca0b70d67d7504a16c48ed1 (patch)
tree551c866b4242a406800c749b52645a979f4300f0
parentaa785a22fc3baccf59de0e7bfce36e8a3c9ca672 (diff)
downloadlibnativehelper-099d521cd29b2cf5fca0b70d67d7504a16c48ed1.tar.gz
TEMP_FAILURE_RETRY() requires errno.h
Fixes compiler error about not finding errno when art is compiled for the host using libc++. Change-Id: Ib2bcd6b230dbb05e7c5306d5d12e25483202b457
-rw-r--r--include/nativehelper/JNIHelp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/nativehelper/JNIHelp.h b/include/nativehelper/JNIHelp.h
index 758b7c7..cfab8f7 100644
--- a/include/nativehelper/JNIHelp.h
+++ b/include/nativehelper/JNIHelp.h
@@ -26,6 +26,7 @@
#define NATIVEHELPER_JNIHELP_H_
#include "jni.h"
+#include <errno.h>
#include <unistd.h>
#ifndef NELEM