Explorar o código

fix includes for Android

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53207 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler %!s(int64=12) %!d(string=hai) anos
pai
achega
377c45b3b9
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      lib/gis/ls.c

+ 5 - 0
lib/gis/ls.c

@@ -25,8 +25,13 @@
 #include <grass/glocale.h>
 
 #ifdef HAVE_SYS_IOCTL_H
+#ifdef __ANDROID__
+#  include <asm/ioctls.h>
+#  include <asm/termios.h>
+#else
 #  include <sys/ioctl.h>
 #endif
+#endif
 
 typedef int ls_filter_func(const char * /*filename */ , void * /*closure */ );