From 24bf7a500ecad7091f92cf9063d0b6cbbf678db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 13 Jan 2016 12:25:09 +0100 Subject: Add -pedantic to debug CFLAGS and fix resulting warnings --- view.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'view.h') diff --git a/view.h b/view.h index ea8bca6..1f3bae1 100644 --- a/view.h +++ b/view.h @@ -3,6 +3,11 @@ #include #include +#if CONFIG_LUA +#include +#else +typedef struct lua_State lua_State; +#endif #include "register.h" #include "text.h" #include "ui.h" @@ -10,7 +15,6 @@ typedef struct View View; typedef struct Cursor Cursor; typedef struct Selection Selection; -typedef struct lua_State lua_State; typedef struct { int width; /* display width i.e. number of columns ocupied by this character */ -- cgit v1.2.3