summaryrefslogtreecommitdiff
path: root/net-misc/socat/files/socat-1.7.3.4-fno-common.patch
blob: a7dcf71c376a5c63da4ee81031c34baa983f58fb (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
--- a/filan.c
+++ b/filan.c
@@ -30,7 +30,9 @@
 
 /* dirty workaround so we dont get an error on AIX when being linked with
    libwrap */
+#if _AIX
 int allow_severity, deny_severity;
+#endif
 
 /* global variables for configuring filan */
 bool filan_followsymlinks;
--- a/procan.c
+++ b/procan.c
@@ -21,7 +21,9 @@
 
 /* dirty workaround so we dont get an error on AIX when getting linked with
    libwrap */
+#if _AIX
 int allow_severity, deny_severity;
+#endif
 
 
 int procan(FILE *outfile) {