diff --git a/Utilities/ITK/Utilities/gdcm/src/gdcmDebug.h b/Utilities/ITK/Utilities/gdcm/src/gdcmDebug.h
index 570f49cd60b7dea11b295f9a86d31cbefcf28c31..2e19417c4245ba29668d6d2a0eb0a72b4558f18d 100644
--- a/Utilities/ITK/Utilities/gdcm/src/gdcmDebug.h
+++ b/Utilities/ITK/Utilities/gdcm/src/gdcmDebug.h
@@ -25,6 +25,8 @@
 #include <fstream>
 #include <assert.h>
 #include <errno.h>
+#include <cstring>
+#include <cstdlib>
 
 namespace gdcm 
 {
diff --git a/Utilities/ITK/Utilities/gdcm/src/gdcmJpeg2000.cxx b/Utilities/ITK/Utilities/gdcm/src/gdcmJpeg2000.cxx
index 0dea0d2ee0cfb41ac6fd272c1db4235217f3d4fb..c1574b59a94d2b916ac748aa1bd97ba0aa9a3ec2 100644
--- a/Utilities/ITK/Utilities/gdcm/src/gdcmJpeg2000.cxx
+++ b/Utilities/ITK/Utilities/gdcm/src/gdcmJpeg2000.cxx
@@ -20,6 +20,7 @@
 
 #include <iostream>
 #include <fstream>
+#include <cstdlib>
 
 #if defined(__BORLANDC__)
    #include <mem.h> // for memset