FreeBSD fixes
This commit is contained in:
parent
f681ddc568
commit
432c71bc4a
@ -102,7 +102,7 @@ c89:
|
|||||||
|
|
||||||
|
|
||||||
freebsd:
|
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)
|
generic: $(ALL)
|
||||||
|
|
||||||
|
3
www.c
3
www.c
@ -8,6 +8,9 @@
|
|||||||
#include <b64/cdecode.h>
|
#include <b64/cdecode.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
#ifdef __FreeBSD__
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#endif
|
||||||
#include "bbs.h"
|
#include "bbs.h"
|
||||||
|
|
||||||
#define GET 1
|
#define GET 1
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
|
#ifdef __FreeBSD__
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#endif
|
||||||
#include "bbs.h"
|
#include "bbs.h"
|
||||||
#include "jamlib/jam.h"
|
#include "jamlib/jam.h"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user