--- a/cpp/include/Ice/Config.h
+++ b/cpp/include/Ice/Config.h
@@ -21,6 +21,7 @@
 #include <string>
 #include <vector>
 #include <map>
+#include <cstddef>
 
 #ifndef ICE_OS_WINRT
 #   if defined(_WIN32)
