From ffc0827b65ff291394a9c742c1b1510b69116b8a Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Sun, 4 May 2008 17:48:26 +0000
Subject: [PATCH] fix lua compile configuration error

SVN-Revision: 11047
---
 package/lua/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/lua/Makefile b/package/lua/Makefile
index 2e1348f1c1..30eac84cc7 100644
--- a/package/lua/Makefile
+++ b/package/lua/Makefile
@@ -87,6 +87,8 @@ endef
 define Build/Configure
 endef
 
+TARGET_CFLAGS += -DLUA_USE_LINUX
+
 define Build/Compile
 	$(MAKE) -C $(PKG_BUILD_DIR) \
 		CC="$(TARGET_CROSS)gcc" \
-- 
GitLab