aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortuexen <tuexen@9df1edf5-d72c-5b5f-11c0-5f5209eb73f7>2011-11-03 21:27:18 +0000
committertuexen <tuexen@9df1edf5-d72c-5b5f-11c0-5f5209eb73f7>2011-11-03 21:27:18 +0000
commitde501e277ce11f5ce372b8dfd3a13300688e796a (patch)
tree23801cf475f9ddfe7007319d3f00994ac31c64c7
parentf3fe5e54a9cd07f16786390de9e864b215ad4a99 (diff)
downloadusrsctp-de501e277ce11f5ce372b8dfd3a13300688e796a.tar.gz
Get it compiling and crashing on FreeBSD.
-rwxr-xr-xbootstrap2
-rw-r--r--configure.in2
-rw-r--r--programs/tsctp.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap b/bootstrap
index ee5236b1..a40544fa 100755
--- a/bootstrap
+++ b/bootstrap
@@ -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