Commit c21b9c03 authored by Brenden Blanco's avatar Brenden Blanco

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.
parent 535ad2f7
......@@ -29,9 +29,9 @@
#include <string.h>
#include <unistd.h>
#include "lauxlib.h"
#include "lua.h"
#include "lualib.h"
#include <luajit-2.0/lauxlib.h>
#include <luajit-2.0/lua.h>
#include <luajit-2.0/lualib.h>
static lua_State *globalL = NULL;
static const char *progname = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment