fix build on Mac OS

This commit is contained in:
Kartik K. Agaram 2022-02-10 23:42:09 -08:00
parent d7436f047d
commit 2d3cad5945
2 changed files with 3 additions and 0 deletions

View File

@ -36,8 +36,10 @@
#include <string.h>
#include <unistd.h>
#if !__APPLE__
extern size_t strlcpy(char * dst, const char * src, size_t size);
extern size_t strlcat(char * dst, const char * src, size_t size);
#endif
/*
* Find the real name of path, by removing all ".", ".." and symlink

View File

@ -11,6 +11,7 @@
#include "lua.h"
#include "lauxlib.h"
#include "tlv.h"
/* If you encounter assertion failures in this file and _didn't_ manually edit
* it, lease report the .tlv file that caused them: http://akkartik.name/contact.