mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge branch 'openbsd' of https://github.com/czarkoff/ProjectTox-Core into czarkoff-openbsd
This commit is contained in:
commit
626a81bf28
|
@ -230,7 +230,7 @@ case $host_os in
|
|||
*solaris*)
|
||||
LIBS="$LIBS -lssp -lsocket -lnsl"
|
||||
;;
|
||||
*freebsd*)
|
||||
*freebsd*|*openbsd*)
|
||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||
CFLAGS="$CFLAGS -I/usr/local/include"
|
||||
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
||||
|
|
|
@ -46,6 +46,9 @@
|
|||
#else
|
||||
|
||||
#include <sys/types.h>
|
||||
#ifdef __OpenBSD__
|
||||
#include <netinet/in_systm.h>
|
||||
#endif
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/ip.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user