diff --git a/LCS/Common/src/ParameterValue.cc b/LCS/Common/src/ParameterValue.cc
index afa815a5231974b7e581726df68478e4af68dcf9..5006b3c8e7612fb5cab82debb87034ef6b94a002 100644
--- a/LCS/Common/src/ParameterValue.cc
+++ b/LCS/Common/src/ParameterValue.cc
@@ -24,6 +24,7 @@
 #include <Common/ParameterValue.h>
 #include <Common/Exceptions.h>
 #include <Common/LofarLogger.h>
+#include <cstdio>
 
 namespace LOFAR { 
 
diff --git a/LCS/Common/src/StringUtil.cc b/LCS/Common/src/StringUtil.cc
index 5e1a791b8dd2c53fefc12578a83eee58ac7786a5..b76f82eefc1dfd4d81f4ad5d613edf870e9319ca 100644
--- a/LCS/Common/src/StringUtil.cc
+++ b/LCS/Common/src/StringUtil.cc
@@ -31,6 +31,7 @@
 #include <Common/lofar_iomanip.h>
 #include <cstring>
 #include <cstdarg>
+#include <cstdio>
 #include <ctime>
 #include <errno.h>
 
diff --git a/LCS/Common/src/SystemUtil.cc b/LCS/Common/src/SystemUtil.cc
index 88bae326fde01ea4e595405cc0e6747942a63b72..871bca4f0cc282159dd18c719f2a15503a608313 100644
--- a/LCS/Common/src/SystemUtil.cc
+++ b/LCS/Common/src/SystemUtil.cc
@@ -26,6 +26,7 @@
 #include <Common/SystemUtil.h>
 #include <unistd.h>
 #include <cstdlib>
+#include <cstdio>
 #include <cstring>
 
 #if !defined(USE_NOSOCKETS)
diff --git a/LCS/Common/src/hexdump.cc b/LCS/Common/src/hexdump.cc
index 8317131fba3945a3926c8508c8466a1127f7a98a..d251972ff17147d2858ae00d6caff1282e15c569 100644
--- a/LCS/Common/src/hexdump.cc
+++ b/LCS/Common/src/hexdump.cc
@@ -25,6 +25,7 @@
 
 #include <Common/hexdump.h>
 #include <Common/StringUtil.h>
+#include <cstdio>
 
 using namespace LOFAR;
 
diff --git a/LCS/Common/test/tHexdump.cc b/LCS/Common/test/tHexdump.cc
index 87c02cfc8cd757328ec8a462cb3307028fb9b1e6..517e301d8848157748e21536a8da0b8dbc7ecb4d 100644
--- a/LCS/Common/test/tHexdump.cc
+++ b/LCS/Common/test/tHexdump.cc
@@ -27,6 +27,7 @@
 #include <Common/hexdump.h>
 #include <Common/StringUtil.h>
 #include <cstring>
+#include <cstdio>
 
 using namespace LOFAR;