Просмотр исходного кода

temporarily disabling LFS, LFS update

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@37860 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 16 лет назад
Родитель
Сommit
b508e22ca7
68 измененных файлов с 73 добавлено и 21 удалено
  1. 0 5
      lib/vector/Vlib/Makefile
  2. 1 0
      lib/vector/Vlib/area.c
  3. 1 0
      lib/vector/Vlib/array.c
  4. 1 0
      lib/vector/Vlib/box.c
  5. 1 0
      lib/vector/Vlib/break_lines.c
  6. 1 0
      lib/vector/Vlib/break_polygons.c
  7. 1 0
      lib/vector/Vlib/bridges.c
  8. 1 0
      lib/vector/Vlib/buffer.c
  9. 1 0
      lib/vector/Vlib/buffer2.c
  10. 1 0
      lib/vector/Vlib/build.c
  11. 1 0
      lib/vector/Vlib/build_ogr.c
  12. 1 0
      lib/vector/Vlib/cats.c
  13. 1 0
      lib/vector/Vlib/cindex.c
  14. 1 0
      lib/vector/Vlib/clean_nodes.c
  15. 1 0
      lib/vector/Vlib/close.c
  16. 1 0
      lib/vector/Vlib/close_ogr.c
  17. 1 0
      lib/vector/Vlib/dangles.c
  18. 1 0
      lib/vector/Vlib/dbcolumns.c
  19. 1 0
      lib/vector/Vlib/dgraph.c
  20. 1 0
      lib/vector/Vlib/error.c
  21. 1 0
      lib/vector/Vlib/field.c
  22. 1 0
      lib/vector/Vlib/find.c
  23. 1 0
      lib/vector/Vlib/graph.c
  24. 1 0
      lib/vector/Vlib/header.c
  25. 1 0
      lib/vector/Vlib/hist.c
  26. 1 0
      lib/vector/Vlib/init_head.c
  27. 1 0
      lib/vector/Vlib/intersect.c
  28. 1 0
      lib/vector/Vlib/legal_vname.c
  29. 1 0
      lib/vector/Vlib/level_two.c
  30. 1 0
      lib/vector/Vlib/line.c
  31. 1 0
      lib/vector/Vlib/list.c
  32. 1 0
      lib/vector/Vlib/map.c
  33. 1 0
      lib/vector/Vlib/merge_lines.c
  34. 8 7
      lib/vector/Vlib/net.c
  35. 1 0
      lib/vector/Vlib/open_ogr.c
  36. 2 0
      lib/vector/Vlib/overlap.c
  37. 1 0
      lib/vector/Vlib/overlay.c
  38. 1 0
      lib/vector/Vlib/poly.c
  39. 1 0
      lib/vector/Vlib/read_ogr.c
  40. 1 0
      lib/vector/Vlib/remove_areas.c
  41. 1 0
      lib/vector/Vlib/remove_duplicates.c
  42. 1 0
      lib/vector/Vlib/rewind_ogr.c
  43. 1 0
      lib/vector/Vlib/select.c
  44. 1 0
      lib/vector/Vlib/sindex.c
  45. 1 0
      lib/vector/Vlib/snap.c
  46. 1 0
      lib/vector/Vlib/type.c
  47. 0 1
      lib/vector/Vlib/write_nat.c
  48. 0 1
      lib/vector/diglib/Makefile
  49. 1 0
      lib/vector/diglib/allocation.c
  50. 2 1
      lib/vector/diglib/angle.c
  51. 1 0
      lib/vector/diglib/box.c
  52. 1 0
      lib/vector/diglib/cindex.c
  53. 1 0
      lib/vector/diglib/frmt.c
  54. 1 0
      lib/vector/diglib/inside.c
  55. 1 1
      lib/vector/diglib/line_dist.c
  56. 1 0
      lib/vector/diglib/list.c
  57. 1 0
      lib/vector/diglib/plus_area.c
  58. 1 0
      lib/vector/diglib/plus_node.c
  59. 1 0
      lib/vector/diglib/poly.c
  60. 1 0
      lib/vector/diglib/prune.c
  61. 1 0
      lib/vector/diglib/spindex.c
  62. 1 0
      lib/vector/diglib/struct_alloc.c
  63. 1 0
      lib/vector/diglib/type.c
  64. 1 0
      lib/vector/diglib/update.c
  65. 0 5
      lib/vector/vedit/Makefile
  66. 1 0
      lib/vector/vedit/break.c
  67. 1 0
      lib/vector/vedit/cats.c
  68. 1 0
      lib/vector/vedit/zbulk.c

+ 0 - 5
lib/vector/Vlib/Makefile

@@ -12,10 +12,5 @@ DEPENDENCIES =  $(ARCH_INCDIR)/Vect.h $(ARCH_INCDIR)/V_.h \
 
 
 include $(MODULE_TOPDIR)/include/Make/Lib.make
 include $(MODULE_TOPDIR)/include/Make/Lib.make
 
 
-#compile if LFS (Large File Support) present:
-ifneq ($(USE_LARGEFILES),)
-	EXTRA_CFLAGS += -D_FILE_OFFSET_BITS=64
-endif
-
 default: lib
 default: lib
 
 

+ 1 - 0
lib/vector/Vlib/area.c

@@ -16,6 +16,7 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/array.c

@@ -15,6 +15,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/dbmi.h>
 #include <grass/dbmi.h>

+ 1 - 0
lib/vector/Vlib/box.c

@@ -15,6 +15,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/break_lines.c

@@ -13,6 +13,7 @@
  * \author Radim Blazek
  * \author Radim Blazek
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/break_polygons.c

@@ -16,6 +16,7 @@
    \author Update for GRASS 7 Markus Metz
    \author Update for GRASS 7 Markus Metz
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>

+ 1 - 0
lib/vector/Vlib/bridges.c

@@ -15,6 +15,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/buffer.c

@@ -17,6 +17,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/buffer2.c

@@ -16,6 +16,7 @@
    \author Rewritten by Rosen Matev (Google Summer of Code 2008)
    \author Rewritten by Rosen Matev (Google Summer of Code 2008)
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/gis.h>
 #include <grass/gis.h>

+ 1 - 0
lib/vector/Vlib/build.c

@@ -15,6 +15,7 @@
    \author Original author CERL, probably Dave Gerdes or Mike Higgins.
    \author Original author CERL, probably Dave Gerdes or Mike Higgins.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <stdarg.h>
 #include <stdarg.h>

+ 1 - 0
lib/vector/Vlib/build_ogr.c

@@ -15,6 +15,7 @@
    \author Radim Blazek, Piero Cavalieri
    \author Radim Blazek, Piero Cavalieri
  */
  */
 
 
+#include <grass/config.h>
 #include <string.h>
 #include <string.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>

+ 1 - 0
lib/vector/Vlib/cats.c

@@ -16,6 +16,7 @@
  * \author Various updates by Martin Landa <landa.martin gmail.com>
  * \author Various updates by Martin Landa <landa.martin gmail.com>
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>

+ 1 - 0
lib/vector/Vlib/cindex.c

@@ -13,6 +13,7 @@
  * \author Radim Blazek
  * \author Radim Blazek
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
 #include <sys/types.h>
 #include <sys/types.h>

+ 1 - 0
lib/vector/Vlib/clean_nodes.c

@@ -13,6 +13,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/close.c

@@ -14,6 +14,7 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
 */
 */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>

+ 1 - 0
lib/vector/Vlib/close_ogr.c

@@ -14,6 +14,7 @@
    \author Update to GRASS 5.7 Radim Blazek and Piero Cavalieri.
    \author Update to GRASS 5.7 Radim Blazek and Piero Cavalieri.
 */
 */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 1 - 0
lib/vector/Vlib/dangles.c

@@ -13,6 +13,7 @@
    \author Radim Blazek
    \author Radim Blazek
 */
 */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/dbcolumns.c

@@ -13,6 +13,7 @@
    \author Markus Neteler
    \author Markus Neteler
 */
 */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>

+ 1 - 0
lib/vector/Vlib/dgraph.c

@@ -13,6 +13,7 @@
    \author Rewritten by Rosen Matev (Google Summer of Code 2008)
    \author Rewritten by Rosen Matev (Google Summer of Code 2008)
 */
 */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/gis.h>
 #include <grass/gis.h>

+ 1 - 0
lib/vector/Vlib/error.c

@@ -14,6 +14,7 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
 */
 */
 
 
+#include <grass/config.h>
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/field.c

@@ -18,6 +18,7 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
 */
 */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>

+ 1 - 0
lib/vector/Vlib/find.c

@@ -15,6 +15,7 @@
  * \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  * \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
+#include <grass/config.h>
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/graph.c

@@ -15,6 +15,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>

+ 1 - 0
lib/vector/Vlib/header.c

@@ -14,6 +14,7 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>

+ 1 - 0
lib/vector/Vlib/hist.c

@@ -13,6 +13,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <string.h>
 #include <string.h>

+ 1 - 0
lib/vector/Vlib/init_head.c

@@ -17,6 +17,7 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
 */
 */
 
 
+#include <grass/config.h>
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/intersect.c

@@ -65,6 +65,7 @@
    \author Update to GRASS 5.7 Radim Blazek.
    \author Update to GRASS 5.7 Radim Blazek.
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>

+ 1 - 0
lib/vector/Vlib/legal_vname.c

@@ -11,6 +11,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
+#include <grass/config.h>
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/level_two.c

@@ -12,6 +12,7 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/line.c

@@ -12,6 +12,7 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
 */
 */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>

+ 1 - 0
lib/vector/Vlib/list.c

@@ -16,6 +16,7 @@
  * \author Update to GRASS 5.7 Radim Blazek and David D. Gray
  * \author Update to GRASS 5.7 Radim Blazek and David D. Gray
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/gis.h>
 #include <grass/gis.h>

+ 1 - 0
lib/vector/Vlib/map.c

@@ -15,6 +15,7 @@
  * \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  * \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <dirent.h>
 #include <dirent.h>

+ 1 - 0
lib/vector/Vlib/merge_lines.c

@@ -15,6 +15,7 @@
    \author Markus Metz
    \author Markus Metz
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>

+ 8 - 7
lib/vector/Vlib/net.c

@@ -13,13 +13,14 @@
  * \author Radim Blazek
  * \author Radim Blazek
  */
  */
 
 
-#include<stdlib.h>
-#include<string.h>
-#include<fcntl.h>
-#include<grass/gis.h>
-#include<grass/dbmi.h>
-#include<grass/Vect.h>
-#include<grass/glocale.h>
+#include <grass/config.h>
+#include <stdlib.h>
+#include <string.h>
+#include <fcntl.h>
+#include <grass/gis.h>
+#include <grass/dbmi.h>
+#include <grass/Vect.h>
+#include <grass/glocale.h>
 
 
 static int From_node;		/* from node set in SP and used by clipper for first arc */
 static int From_node;		/* from node set in SP and used by clipper for first arc */
 
 

+ 1 - 0
lib/vector/Vlib/open_ogr.c

@@ -14,6 +14,7 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
+#include <grass/config.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <string.h>
 #include <string.h>
 #include <sys/types.h>
 #include <sys/types.h>

+ 2 - 0
lib/vector/Vlib/overlap.c

@@ -13,6 +13,8 @@
    \author Original author CERL, probably Dave Gerdes or Mike Higgins.
    \author Original author CERL, probably Dave Gerdes or Mike Higgins.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
+
+#include <grass/config.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 
 

+ 1 - 0
lib/vector/Vlib/overlay.c

@@ -16,6 +16,7 @@
    \author Radim Blazek
    \author Radim Blazek
 */
 */
 
 
+#include <grass/config.h>
 #include <string.h>
 #include <string.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 1 - 0
lib/vector/Vlib/poly.c

@@ -14,6 +14,7 @@
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
    \author Update to GRASS 5.7 Radim Blazek and David D. Gray.
  */
  */
 
 
+#include <grass/config.h>
 #include <math.h>
 #include <math.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/read_ogr.c

@@ -13,6 +13,7 @@
    \author Radim Blazek, Piero Cavalieri
    \author Radim Blazek, Piero Cavalieri
  */
  */
 
 
+#include <grass/config.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 1 - 0
lib/vector/Vlib/remove_areas.c

@@ -13,6 +13,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/remove_duplicates.c

@@ -13,6 +13,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/rewind_ogr.c

@@ -13,6 +13,7 @@
    \author Radim Blazek, Piero Cavalieri 
    \author Radim Blazek, Piero Cavalieri 
 */
 */
 
 
+#include <grass/config.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 
 

+ 1 - 0
lib/vector/Vlib/select.c

@@ -13,6 +13,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/Vlib/sindex.c

@@ -14,6 +14,7 @@
    \author Martin Landa <landa.martin gmail.com> (storing sidx to file)
    \author Martin Landa <landa.martin gmail.com> (storing sidx to file)
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 1 - 0
lib/vector/Vlib/snap.c

@@ -14,6 +14,7 @@
  * \author update to GRASS 7 Markus Metz
  * \author update to GRASS 7 Markus Metz
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
 #include <grass/gis.h>
 #include <grass/gis.h>

+ 1 - 0
lib/vector/Vlib/type.c

@@ -13,6 +13,7 @@
    \author Radim Blazek
    \author Radim Blazek
  */
  */
 
 
+#include <grass/config.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 
 

+ 0 - 1
lib/vector/Vlib/write_nat.c

@@ -23,7 +23,6 @@
 
 
 #include <grass/config.h>
 #include <grass/config.h>
 #include <stdio.h>
 #include <stdio.h>
-#include <sys/types.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
 
 

+ 0 - 1
lib/vector/diglib/Makefile

@@ -14,7 +14,6 @@ LIBES = $(GISLIB) $(RTREELIB) $(MATHLIB)
 
 
 #compile if LFS (Large File Support) present:
 #compile if LFS (Large File Support) present:
 ifneq ($(USE_LARGEFILES),)
 ifneq ($(USE_LARGEFILES),)
-	EXTRA_CFLAGS += -D_FILE_OFFSET_BITS=64
 	TESTFILE = test64.ok
 	TESTFILE = test64.ok
 else
 else
 	TESTFILE = test32.ok
 	TESTFILE = test32.ok

+ 1 - 0
lib/vector/diglib/allocation.c

@@ -15,6 +15,7 @@
  *              for details.
  *              for details.
  *
  *
  *****************************************************************************/
  *****************************************************************************/
+#include <grass/config.h>
 #include <unistd.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 2 - 1
lib/vector/diglib/angle.c

@@ -22,8 +22,9 @@
  *    returns -  (float)(-9)  if only 1 point or more points but identical
  *    returns -  (float)(-9)  if only 1 point or more points but identical
  */
  */
 
 
+#include <grass/config.h>
 #include <stdio.h>
 #include <stdio.h>
-#include    <math.h>
+#include <math.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 
 
 static double d_atan2(double, double);
 static double d_atan2(double, double);

+ 1 - 0
lib/vector/diglib/box.c

@@ -14,6 +14,7 @@
  *              for details.
  *              for details.
  *
  *
  *****************************************************************************/
  *****************************************************************************/
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 
 

+ 1 - 0
lib/vector/diglib/cindex.c

@@ -14,6 +14,7 @@
 *   	    	for details.
 *   	    	for details.
 *
 *
 *****************************************************************************/
 *****************************************************************************/
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>

+ 1 - 0
lib/vector/diglib/frmt.c

@@ -14,6 +14,7 @@
  *              for details.
  *              for details.
  *
  *
  *****************************************************************************/
  *****************************************************************************/
+#include <grass/config.h>
 #include <string.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/diglib/inside.c

@@ -15,6 +15,7 @@
  *              for details.
  *              for details.
  *
  *
  *****************************************************************************/
  *****************************************************************************/
+#include <grass/config.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 
 

+ 1 - 1
lib/vector/diglib/line_dist.c

@@ -15,7 +15,7 @@
  *              for details.
  *              for details.
  *
  *
  *****************************************************************************/
  *****************************************************************************/
-#include    <math.h>
+#include <math.h>
 
 
 #define ZERO(x) ((x) < tolerance && (x) > -tolerance)
 #define ZERO(x) ((x) < tolerance && (x) > -tolerance)
 #define TOLERANCE 1.0e-10
 #define TOLERANCE 1.0e-10

+ 1 - 0
lib/vector/diglib/list.c

@@ -15,6 +15,7 @@
  *              for details.
  *              for details.
  *
  *
  *****************************************************************************/
  *****************************************************************************/
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/diglib/plus_area.c

@@ -14,6 +14,7 @@
  * \date 2001-2006
  * \date 2001-2006
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>

+ 1 - 0
lib/vector/diglib/plus_node.c

@@ -14,6 +14,7 @@
  * \date 2001-2006
  * \date 2001-2006
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <math.h>
 #include <math.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 1 - 0
lib/vector/diglib/poly.c

@@ -16,6 +16,7 @@
  *               for details.
  *               for details.
  *
  *
  *****************************************************************************/
  *****************************************************************************/
+#include <grass/config.h>
 #include <math.h>
 #include <math.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 
 

+ 1 - 0
lib/vector/diglib/prune.c

@@ -67,6 +67,7 @@
  * Value returned : - the final number of points in the pruned set.
  * Value returned : - the final number of points in the pruned set.
  */
  */
 
 
+#include <grass/config.h>
 #include <stdio.h>
 #include <stdio.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 #include <math.h>
 #include <math.h>

+ 1 - 0
lib/vector/diglib/spindex.c

@@ -14,6 +14,7 @@
   \author Update to GRASS 5.7 Radim Blazek
   \author Update to GRASS 5.7 Radim Blazek
 */
 */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <string.h>
 #include <string.h>
 #include <grass/gis.h>
 #include <grass/gis.h>

+ 1 - 0
lib/vector/diglib/struct_alloc.c

@@ -16,6 +16,7 @@
  *
  *
  *****************************************************************************/
  *****************************************************************************/
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 
 

+ 1 - 0
lib/vector/diglib/type.c

@@ -14,6 +14,7 @@
  * \date 2001
  * \date 2001
  */
  */
 
 
+#include <grass/config.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>
 
 

+ 1 - 0
lib/vector/diglib/update.c

@@ -14,6 +14,7 @@
  * \author Radim Blazek
  * \author Radim Blazek
  */
  */
 
 
+#include <grass/config.h>
 #include <stdlib.h>
 #include <stdlib.h>
 #include <grass/gis.h>
 #include <grass/gis.h>
 #include <grass/Vect.h>
 #include <grass/Vect.h>

+ 0 - 5
lib/vector/vedit/Makefile

@@ -11,11 +11,6 @@ EXTRA_LIBS = $(VECTLIB) $(DBMILIB) $(GISLIB)
 include $(MODULE_TOPDIR)/include/Make/Lib.make
 include $(MODULE_TOPDIR)/include/Make/Lib.make
 include $(MODULE_TOPDIR)/include/Make/Doxygen.make
 include $(MODULE_TOPDIR)/include/Make/Doxygen.make
 
 
-#compile if LFS (Large File Support) present:
-ifneq ($(USE_LARGEFILES),)
-	EXTRA_CFLAGS += -D_FILE_OFFSET_BITS=64
-endif
-
 default: lib
 default: lib
 
 
 # doxygen
 # doxygen

+ 1 - 0
lib/vector/vedit/break.c

@@ -13,6 +13,7 @@
    \date 2007-2008
    \date 2007-2008
 */
 */
 
 
+#include <grass/config.h>
 #include <math.h>
 #include <math.h>
 #include <grass/vedit.h>
 #include <grass/vedit.h>
 
 

+ 1 - 0
lib/vector/vedit/cats.c

@@ -15,6 +15,7 @@
    \date 2006-2008
    \date 2006-2008
 */
 */
 
 
+#include <grass/config.h>
 #include <grass/glocale.h>
 #include <grass/glocale.h>
 #include <grass/vedit.h>
 #include <grass/vedit.h>
 
 

+ 1 - 0
lib/vector/vedit/zbulk.c

@@ -15,6 +15,7 @@
    \date 2007-2008
    \date 2007-2008
 */
 */
 
 
+#include <grass/config.h>
 #include <grass/dbmi.h>
 #include <grass/dbmi.h>
 #include <grass/vedit.h>
 #include <grass/vedit.h>