Force lua main.c to include luajit headers
authorBrenden Blanco <bblanco@plumgrid.com>
Wed, 4 May 2016 06:49:37 +0000 (23:49 -0700)
committerBrenden Blanco <bblanco@plumgrid.com>
Wed, 4 May 2016 06:49:37 +0000 (23:49 -0700)
commitc21b9c036cba26e2927fbb5e46985faa73ef743e
treeef9ff242a9577845bd7078d4628f86bfe7245b32
parent535ad2f770c33b0049bb43b9c50251c6b1c48dfa
Force lua main.c to include luajit headers

On my system, when both lua and luajit are installed, multiple headers
exist in /usr/include. However, my lua installation is 5.3, which has
some api-breaking changes, which means that the standard lua.h must not
be included.

Simply force lua.h to come from luajit-2.0 directory.
src/lua/src/main.c