commit | 099d521cd29b2cf5fca0b70d67d7504a16c48ed1 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Wed May 21 13:25:01 2014 -0700 |
committer | Dan Albert <danalbert@google.com> | Wed May 21 14:13:51 2014 -0700 |
tree | 551c866b4242a406800c749b52645a979f4300f0 | |
parent | aa785a22fc3baccf59de0e7bfce36e8a3c9ca672 [diff] |
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
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