summaryrefslogtreecommitdiff
blob: de778a75f165df994cf46af9a7c8af5e770334c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
http://bugs.gentoo.org/152489
http://bugs.gentoo.org/248034
http://bugs.gentoo.org/315213

--- src/btlist.c
+++ src/btlist.c
@@ -13,6 +13,7 @@

 #include "config.h"

+#include <sys/types.h>
 #include <openssl/sha.h>
 #include <stdlib.h>
 #include <string.h>
--- src/peer.c
+++ src/peer.c
@@ -35,6 +35,7 @@
 #include <time.h>
 #include <poll.h>
 #include <assert.h>
+#include <limits.h>
 
 #include "bterror.h"
 #include "btmessage.h"
--- src/udpproto.c	2009-12-07 15:03:54.000000000 +0100
+++ src/udpproto.c	2009-12-07 15:04:10.000000000 +0100
@@ -4,6 +4,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <limits.h>
 
 #include <arpa/inet.h>
 
--- src/Makefile.in	2009-12-07 15:57:24.000000000 +0100
+++ src/Makefile.in	2009-12-07 15:57:34.000000000 +0100
@@ -30,7 +30,7 @@
 CPPFLAGS:=@CPPFLAGS@
 CFLAGS+=-g -Wall -I../include -I$(top_srcdir)/include
 
-LIBS:=@LIBS@ `curl-config --libs` -lm
+LIBS:=@LIBS@ `curl-config --libs` -lm -lcrypto
 LDFLAGS:=-g -L. @LDFLAGS@
 VERSION=1.06
 MAKEDEPEND=@MAKEDEPEND@
--- Makefile.in	2009-12-07 17:36:18.000000000 +0100
+++ Makefile.in	2009-12-07 17:36:28.000000000 +0100
@@ -1,4 +1,4 @@
-all:	depend compile
+all:	compile
 
 compile:
 	cd src && ${MAKE}