title: Android NDK doesn't support header files?
body: <p>This page has instuctions for compiling iwlist and other commands for Android:
  <a href="https://code.google.com/p/haggle/wiki/WirelessTools" rel="nofollow">https://code.google.com/p/haggle/wiki/WirelessTools</a></p>
  
  <p>Unfortunately I'm getting the same type of error as the commenter on that page:</p>
  
  <pre><code>Android NDK: WARNING: Unsupported source file extensions in /home/simon/Android-SDK/wireless_tools.29/Android.mk for module iwlist Android NDK: iwlib.h
  </code></pre>
  
  <p>When I remove the iwlib.h from the LOCAL_SRC_FILES of the Android.mk, it doesn't show that warning, but it still fails with the same error:</p>
  
  <pre><code>./iwlist.c:633:7: error: 'IW_EV_LCP_PK2_LEN' undeclared (first use in this function)
  </code></pre>
  
  <p>This is undeclared because it is in the iwlib.h file it's warning about.</p>
  
  <p>So why does the Android NDK not recognize header .h files?</p>