Pārlūkot izejas kodu

revert https://trac.osgeo.org/grass/changeset/53207 with better fix

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53220 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 12 gadi atpakaļ
vecāks
revīzija
8bddad327f
1 mainītis faili ar 4 papildinājumiem un 5 dzēšanām
  1. 4 5
      lib/gis/ls.c

+ 4 - 5
lib/gis/ls.c

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