title: Compiling and using OpenSSL for Android, on windows using eclipse
body: <p>I am developing an Android app on windows, using eclipse.
  I would like to use OpenSSL for my Android application. It needs to be used with C++ via NDK.
  I tried to download fries' OpenSSL source code from <a href="https://github.com/fries/android-external-openssl" rel="nofollow">https://github.com/fries/android-external-openssl</a> and build it.
  I read the README.android file, but I didn't understand what these instructions are for.
  Do I need to download the OpenSSL source code in addition to the fries source code?
  I have tried putting all the files from Fries' into my jni folder of the Android project. It complained about not finding e_os.h and openssl/crypto.h and others like that.
  More specifically:</p>
  
  <pre><code>In file included from D:/Projects/Fatal/Android/OpenSSL/jni/ssl/s2_meth.c:59:
  D:/Projects/Fatal/Android/OpenSSL/jni/ssl/ssl_locl.h:124:18: error: e_os.h: No such file or directory
  D:/Projects/Fatal/Android/OpenSSL/jni/ssl/ssl_locl.h:126:28: error: openssl/buffer.h: No such file or directory
  D:/Projects/Fatal/Android/OpenSSL/jni/ssl/ssl_locl.h:127:26: error: openssl/comp.h: No such file or directory
  </code></pre>
  
  <p>I am not sure why it doesn't find those files, I tried to add all sort of paths into LOCAL_C_INCLUDES in all sort of Android.mk files, but nothing worked.</p>
  
  <p>I would like to know how to build OpenSSL for Android. Thank you.</p>