Procházet zdrojové kódy

#include <cstring> in header files that use strcpy()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@32763 15284696-431f-4ddb-bdfa-cd5b030d7da7
Paul Kelly před 17 roky
rodič
revize
e78fcec151
2 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 0
      include/iostream/mem_stream.h
  2. 0 2
      lib/iostream/ami_stream.cc

+ 1 - 0
include/iostream/mem_stream.h

@@ -40,6 +40,7 @@
 #include <stdlib.h>
 #include <assert.h>
 
+#include <cstring>
 #include <iostream>
 using namespace std;
 

+ 0 - 2
lib/iostream/ami_stream.cc

@@ -43,8 +43,6 @@
 #include <errno.h>
 #include <unistd.h>
 
-#include <cstring>
-
 //#include <ami_stream.h>
 #include <grass/iostream/ami_stream.h>