Merge pull request #739 from adamharrison/include-fixes

Takes kivutar's changes into account, cleaning things up slightly.
This commit is contained in:
Adam 2021-12-18 13:43:54 -05:00 committed by GitHub
commit a019420bf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,6 @@
#include "api.h" #include "api.h"
#include "renderer.h" #include "../renderer.h"
#include "rencache.h" #include "../rencache.h"
static int f_font_load(lua_State *L) { static int f_font_load(lua_State *L) {
const char *filename = luaL_checkstring(L, 1); const char *filename = luaL_checkstring(L, 1);

View File

@ -6,8 +6,8 @@
#include <errno.h> #include <errno.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "api.h" #include "api.h"
#include "dirmonitor.h" #include "../dirmonitor.h"
#include "rencache.h" #include "../rencache.h"
#ifdef _WIN32 #ifdef _WIN32
#include <direct.h> #include <direct.h>
#include <windows.h> #include <windows.h>

View File

@ -1,5 +1,5 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#include "lua.h" #include <lua.h>
#ifdef MACOS_USE_BUNDLE #ifdef MACOS_USE_BUNDLE
void set_macos_bundle_resources(lua_State *L) void set_macos_bundle_resources(lua_State *L)

View File

@ -1,6 +1,7 @@
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <stdbool.h>
#include <stdalign.h> #include <stdalign.h>
#include <lauxlib.h> #include <lauxlib.h>