[GRASS-SVN] r32763 - in grass/trunk: include/iostream lib/iostream

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 14 08:19:06 EDT 2008


Author: pkelly
Date: 2008-08-14 08:19:06 -0400 (Thu, 14 Aug 2008)
New Revision: 32763

Modified:
   grass/trunk/include/iostream/mem_stream.h
   grass/trunk/lib/iostream/ami_stream.cc
Log:
#include <cstring> in header files that use strcpy()


Modified: grass/trunk/include/iostream/mem_stream.h
===================================================================
--- grass/trunk/include/iostream/mem_stream.h	2008-08-14 11:06:26 UTC (rev 32762)
+++ grass/trunk/include/iostream/mem_stream.h	2008-08-14 12:19:06 UTC (rev 32763)
@@ -40,6 +40,7 @@
 #include <stdlib.h>
 #include <assert.h>
 
+#include <cstring>
 #include <iostream>
 using namespace std;
 

Modified: grass/trunk/lib/iostream/ami_stream.cc
===================================================================
--- grass/trunk/lib/iostream/ami_stream.cc	2008-08-14 11:06:26 UTC (rev 32762)
+++ grass/trunk/lib/iostream/ami_stream.cc	2008-08-14 12:19:06 UTC (rev 32763)
@@ -43,8 +43,6 @@
 #include <errno.h>
 #include <unistd.h>
 
-#include <cstring>
-
 //#include <ami_stream.h>
 #include <grass/iostream/ami_stream.h>
 



More information about the grass-commit mailing list