diff options
author | tuexen <tuexen@9df1edf5-d72c-5b5f-11c0-5f5209eb73f7> | 2011-11-03 21:27:18 +0000 |
---|---|---|
committer | tuexen <tuexen@9df1edf5-d72c-5b5f-11c0-5f5209eb73f7> | 2011-11-03 21:27:18 +0000 |
commit | de501e277ce11f5ce372b8dfd3a13300688e796a (patch) | |
tree | 23801cf475f9ddfe7007319d3f00994ac31c64c7 | |
parent | f3fe5e54a9cd07f16786390de9e864b215ad4a99 (diff) | |
download | usrsctp-de501e277ce11f5ce372b8dfd3a13300688e796a.tar.gz |
Get it compiling and crashing on FreeBSD.
-rwxr-xr-x | bootstrap | 2 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | programs/tsctp.c | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ #! /bin/sh set -x aclocal -glibtoolize +libtoolize autoconf automake --foreign --add-missing --copy diff --git a/configure.in b/configure.in index 6dbce51a..67d0b90d 100644 --- a/configure.in +++ b/configure.in @@ -15,7 +15,7 @@ linux*) CFLAGS="$CFLAGS -D__Userspace_os_Linux" ;; freebsd*) - CFLAGS="$CFLAGS -U__FreeBSD__ -D__Userspace_os_FreeBSD" + CFLAGS="$CFLAGS -pthread -U__FreeBSD__ -D__Userspace_os_FreeBSD" ;; solaris*) CFLAGS="$CFLAGS -D_XPG4_2" diff --git a/programs/tsctp.c b/programs/tsctp.c index 87a27bab..af3605c2 100644 --- a/programs/tsctp.c +++ b/programs/tsctp.c @@ -28,7 +28,7 @@ * SUCH DAMAGE. */ -/*#include <sys/types.h> +#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> @@ -38,7 +38,7 @@ #include <stdlib.h> #include <string.h> #include <pthread.h> -#include <signal.h>*/ +#include <signal.h> #ifdef LINUX #include <getopt.h> #endif |