diff --git a/package/gluon-web/src/template_lualib.c b/package/gluon-web/src/template_lualib.c
index b06a48571e2baab959a5bc51e774631d00cfc085..7a19ba3c665db79a95046086763455814cfe4026 100644
--- a/package/gluon-web/src/template_lualib.c
+++ b/package/gluon-web/src/template_lualib.c
@@ -16,7 +16,12 @@
  *  limitations under the License.
  */
 
-#include "template_lualib.h"
+#include "template_parser.h"
+#include "template_utils.h"
+#include "template_lmo.h"
+
+#define TEMPLATE_LUALIB_META  "gluon.web.template.parser"
+
 
 static int template_L_do_parse(lua_State *L, struct template_parser *parser, const char *chunkname)
 {
diff --git a/package/gluon-web/src/template_lualib.h b/package/gluon-web/src/template_lualib.h
deleted file mode 100644
index ec0e17c8629fe47ede768ba7e720dd6629273fd8..0000000000000000000000000000000000000000
--- a/package/gluon-web/src/template_lualib.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * LuCI Template - Lua library header
- *
- *   Copyright (C) 2009 Jo-Philipp Wich <jow@openwrt.org>
- *
- *  Licensed under the Apache License, Version 2.0 (the "License");
- *  you may not use this file except in compliance with the License.
- *  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-
-#ifndef _TEMPLATE_LUALIB_H_
-#define _TEMPLATE_LUALIB_H_
-
-#include "template_parser.h"
-#include "template_utils.h"
-#include "template_lmo.h"
-
-#define TEMPLATE_LUALIB_META  "gluon.web.template.parser"
-
-LUALIB_API int luaopen_gluon_web_template_parser(lua_State *L);
-
-#endif