netcdf/netcdf-3.6.2-gcc43.patch

22 lines
563 B
Diff

--- netcdf-3.6.2/cxx/ncvalues.cpp.gcc43 2006-12-29 09:38:56.000000000 -0700
+++ netcdf-3.6.2/cxx/ncvalues.cpp 2008-04-02 13:45:39.000000000 -0600
@@ -9,7 +9,7 @@
#include <config.h>
#include <iostream>
-#include <string>
+#include <cstring>
#include "ncvalues.h"
--- netcdf-3.6.2/examples/CXX/sfc_pres_temp_rd.cpp.gcc43 2007-01-19 05:52:13.000000000 -0700
+++ netcdf-3.6.2/examples/CXX/sfc_pres_temp_rd.cpp 2008-04-02 13:46:08.000000000 -0600
@@ -18,6 +18,7 @@
#include <iostream>
#include <netcdfcpp.h>
+#include <cstring>
using namespace std;