gdcm/gdcm-2.0.16-fix_ptrdiff.patch

13 lines
483 B
Diff
Raw Normal View History

2011-02-02 09:17:49 +00:00
diff --git a/gdcm-2.0.16/Wrapping/Python/gdcmswig.i b/gdcm-2.0.16/Wrapping/Python/gdcmswig.i
index 6a5a5c7..26c8ba5 100644
--- a/gdcm-2.0.16/Wrapping/Python/gdcmswig.i
+++ b/gdcm-2.0.16/Wrapping/Python/gdcmswig.i
@@ -27,6 +27,7 @@
// "There is no option to suppress all SWIG warning messages."
#pragma SWIG nowarn=302,303,312,362,383,389,401,503,504,509,510,514,516
%{
+#include <cstddef> // ptrdiff_t
#include "gdcmTypes.h"
#include "gdcmASN1.h"
#include "gdcmSmartPointer.h"