diff --git a/.gitattributes b/.gitattributes
index 8cbdc6acc4ea06404707dfd1a5d7ea42cb35971f..7d05e51c04d8fddab2e25c2d5462bd28c40c1587 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -275,6 +275,7 @@ LCS/Blob/test/tBlobStream.in_le -text svneol=unset#unset
 LCS/CMakeLists.txt -text
 LCS/Common/CMakeLists.txt -text
 LCS/Common/include/Common/CMakeLists.txt -text
+LCS/Common/lofar_config.h.cmake -text
 LCS/Common/src/CMakeLists.txt -text
 LCS/Common/src/Common-Model.cat -text
 LCS/Common/test/CMakeLists.txt -text
diff --git a/LCS/Common/lofar_config.h.cmake b/LCS/Common/lofar_config.h.cmake
new file mode 100644
index 0000000000000000000000000000000000000000..d0c98288e1a06321759608424fa0f08fbc361ac4
--- /dev/null
+++ b/LCS/Common/lofar_config.h.cmake
@@ -0,0 +1,14 @@
+/* Generated by lofar_init.m4 */
+
+#ifndef LOFAR_CONFIG_H
+#define LOFAR_CONFIG_H
+
+#if defined(HAVE_CONFIG_H)
+#include <config.h>
+#endif
+
+#define HAVE_LOFAR_COMMON 1
+
+#define LOFARLOGGER_PACKAGE "LCS.Common"
+
+#endif