Browse Source

fix includes for Android

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53207 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 12 years ago
parent
commit
377c45b3b9
1 changed files with 5 additions and 0 deletions
  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 */ );