aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-05-01 11:49:36 +0000
committerng0 <ng0@n0.is>2019-05-01 11:49:36 +0000
commitf99bbe74c6836d88c2c37a9aab7661262ab9c55d (patch)
treeb8bd8171a932848b925e8e8c352d03cda6093cae
parent454544588e659c6fe158e7c6853215e385133189 (diff)
downloadmle-pkgsrc/patches.tar
mle-pkgsrc/patches.tar.gz
On NetBSD host, find lua in base.pkgsrc/patches
-rw-r--r--mle.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mle.h b/mle.h
index 11d9949..7851eed 100644
--- a/mle.h
+++ b/mle.h
@@ -5,9 +5,15 @@
#include <limits.h>
#include <termbox.h>
#include <uthash.h>
+#ifdef NETBSD
+#include <lua.h>
+#include <lualib.h>
+#include <lauxlib.h>
+#else
#include <lua5.3/lua.h>
#include <lua5.3/lualib.h>
#include <lua5.3/lauxlib.h>
+#endif
#include "mlbuf.h"
// Typedefs