Merge branch 'openbsd' of https://github.com/czarkoff/ProjectTox-Core into czarkoff-openbsd

This commit is contained in:
irungentoo 2014-04-08 17:31:24 -04:00
commit 626a81bf28
No known key found for this signature in database
GPG Key ID: 10349DC9BED89E98
2 changed files with 4 additions and 1 deletions

View File

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

View File

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