replace the hostapd preselection with a wpad preselection to enable proper client...
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.31 / 902-darwin_scripts_include.patch
index e98a10d1062497ab22a6fa50e0ecb225d187e467..fc64c17d5241ac4c4c7b9aeda92e332456bcf6d0 100644 (file)
@@ -92,7 +92,7 @@
  #include <sys/mman.h>
  #include <fcntl.h>
  #include <unistd.h>
-+#ifndef __APPLE__
++#if !(defined(__APPLE__) || defined(__CYGWIN__))
  #include <elf.h>
 +#else
 +#include "../../../../../tools/sstrip/include/elf.h"