[GRASS-SVN] r53207 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 18 06:50:06 PDT 2012


Author: neteler
Date: 2012-09-18 06:50:05 -0700 (Tue, 18 Sep 2012)
New Revision: 53207

Modified:
   grass/trunk/lib/gis/ls.c
Log:
fix includes for Android

Modified: grass/trunk/lib/gis/ls.c
===================================================================
--- grass/trunk/lib/gis/ls.c	2012-09-18 13:35:41 UTC (rev 53206)
+++ grass/trunk/lib/gis/ls.c	2012-09-18 13:50:05 UTC (rev 53207)
@@ -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 */ );
 



More information about the grass-commit mailing list