diff --git a/lua/Makefile b/lua/Makefile index d71c75c..89cf618 100644 --- a/lua/Makefile +++ b/lua/Makefile @@ -102,7 +102,7 @@ c89: freebsd: - $(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -lreadline" + $(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_LINUX -I/usr/local/include" SYSLIBS="-L/usr/local/lib -Wl,-E -lreadline" CC=cc generic: $(ALL) diff --git a/www.c b/www.c index 8c78b87..2592485 100644 --- a/www.c +++ b/www.c @@ -8,6 +8,9 @@ #include #include #include +#ifdef __FreeBSD__ +#include +#endif #include "bbs.h" #define GET 1 diff --git a/www_msgs.c b/www_msgs.c index fb36f01..ab60317 100644 --- a/www_msgs.c +++ b/www_msgs.c @@ -4,6 +4,9 @@ #include #include #include +#ifdef __FreeBSD__ +#include +#endif #include "bbs.h" #include "jamlib/jam.h"