summaryrefslogtreecommitdiff
path: root/sci-visualization/paraview/files/paraview-4.0.1-xdmf-cstring.patch
blob: 665f40ad4fa7f8dccca6ed6858a9294382629afe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
gcc header fix

--- ParaView-3.98.0-src/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfObject.h
+++ ParaView-3.98.0-src/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfObject.h
@@ -82,6 +82,7 @@
 # ifdef UNIX
 #  include "sys/file.h"
 #  include "strings.h"
+#  include <cstring>
 #  define STRCASECMP strcasecmp
 #  define STRNCASECMP strncasecmp
 #  define STRCMP strcmp