rebuild fbreader after libunibreak update
[oi-userland.git] / components / web / aget / patches / aget-0.4.1-fno-common.patch
blobe881cc39b88bf6e4935aa81a9aebd2fe1354ea23
1 --- a/Aget.c
2 +++ b/Aget.c
3 @@ -33,6 +33,8 @@ extern pthread_t hthread;
4 #include <errno.h>
5 extern int errno;
7 +extern time_t t_start, t_finish;
10 void get(struct request *req)
12 --- a/Head.c
13 +++ b/Head.c
14 @@ -34,6 +34,8 @@
15 extern int errno;
16 extern int h_errno;
18 +time_t t_start, t_finish;
20 #ifdef SOLARIS
21 extern const char *hstrerror(int);
22 #endif
23 --- a/Misc.h
24 +++ b/Misc.h
25 @@ -24,7 +24,7 @@ void Log(char *, ...); /* Log */
26 void updateProgressBar(float, float);
27 void handleHttpRetcode(char *);
29 -time_t t_start, t_finish;
30 +extern time_t t_start, t_finish;
32 #endif
34 --- a/Signal.c
35 +++ b/Signal.c
36 @@ -16,6 +16,8 @@ extern struct request *req;
37 extern int bwritten;
38 extern pthread_mutex_t bwritten_mutex;
40 +sigset_t signal_set;
42 void * signal_waiter(void *arg)
44 int signal;
45 --- a/Signal.h
46 +++ b/Signal.h
47 @@ -4,7 +4,7 @@
48 #include <signal.h>
49 #include <pthread.h>
51 -sigset_t signal_set;
52 +extern sigset_t signal_set;
54 void * signal_waiter(void *arg);
55 void sigint_handler(void);
56 --- a/main.c
57 +++ b/main.c
58 @@ -15,6 +15,8 @@
59 #include "main.h"
60 #include <errno.h>
62 +extern sigset_t signal_set;
64 int main(int argc, char **argv)
66 extern char *optarg;