summaryrefslogtreecommitdiff
blob: a23429e7bd996295ab503db4ad9651b88c9d1987 (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
diff -up arj-3.10.22/environ.c~ arj-3.10.22/environ.c
--- arj-3.10.22/environ.c~	2008-03-31 15:19:36.000000000 +0200
+++ arj-3.10.22/environ.c	2008-03-31 15:19:36.000000000 +0200
@@ -12,6 +12,8 @@
 #include <conio.h>
 #include <io.h>
 #include <process.h>
+#else
+#include <sys/wait.h>
 #endif
 
 #include <fcntl.h>
diff -up arj-3.10.22/arjsfx.c~ arj-3.10.22/arjsfx.c
--- arj-3.10.22/arjsfx.c~	2008-03-31 15:17:45.000000000 +0200
+++ arj-3.10.22/arjsfx.c	2008-03-31 15:17:45.000000000 +0200
@@ -5,6 +5,7 @@
  *
  */
 
+#define _GNU_SOURCE
 #include <stdio.h>
 #include <signal.h>
 
diff -up arj-3.10.22/arj.c~ arj-3.10.22/arj.c
--- arj-3.10.22/arj.c~	2008-03-31 15:17:14.000000000 +0200
+++ arj-3.10.22/arj.c	2008-03-31 15:17:14.000000000 +0200
@@ -5,6 +5,7 @@
  *
  */
 
+#define _GNU_SOURCE
 #include <stdio.h>
 #include <signal.h>