This commit is contained in:
Andrew Pamment 2017-03-17 21:19:53 +10:00
commit 3304fbf0fa
3 changed files with 7 additions and 1 deletions

View File

@ -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)

3
www.c
View File

@ -8,6 +8,9 @@
#include <b64/cdecode.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#ifdef __FreeBSD__
#include <netinet/in.h>
#endif
#include "bbs.h"
#define GET 1

View File

@ -4,6 +4,9 @@
#include <stdlib.h>
#include <fcntl.h>
#include <sys/utsname.h>
#ifdef __FreeBSD__
#include <sys/stat.h>
#endif
#include "bbs.h"
#include "jamlib/jam.h"