diff --git a/src/knot/conf/cf-lex.l b/src/knot/conf/cf-lex.l
index 902a1066dc14b65be73c214169af7bac15570a03..26ae0075f78c1b45952424b5e25cd23442be352a 100644
--- a/src/knot/conf/cf-lex.l
+++ b/src/knot/conf/cf-lex.l
@@ -1,3 +1,18 @@
+/*  Copyright (C) 2011 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
 /*!
  * \file cf-lex.l
  *
@@ -9,6 +24,7 @@
  */
 %{
 
+#include <config.h>
 #include <errno.h>
 #include <stdlib.h>
 #include <stdarg.h>
diff --git a/src/knot/conf/cf-parse.y b/src/knot/conf/cf-parse.y
index 0e4f98cf219816b0230c3c5f39c6e7aa3afef2e9..68ddd24e453fa4814ff8f8715574680a5f73d0a3 100644
--- a/src/knot/conf/cf-parse.y
+++ b/src/knot/conf/cf-parse.y
@@ -1,3 +1,18 @@
+/*  Copyright (C) 2011 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
 /*!
  * \file cf-parse.y
  *
@@ -7,6 +22,7 @@
  */
 %{
 /* Headers */
+#include <config.h>
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>