mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
4c40e21dc4
Thanks to ricky_cardo on LQ! Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
19 lines
995 B
Diff
19 lines
995 B
Diff
diff -Naur webalizer-2.23-08.orig/dns_resolv.c webalizer-2.23-08/dns_resolv.c
|
|
--- webalizer-2.23-08.orig/dns_resolv.c 2013-02-26 06:37:27.000000000 +0100
|
|
+++ webalizer-2.23-08/dns_resolv.c 2021-03-23 20:18:10.825092000 +0100
|
|
@@ -78,11 +78,11 @@
|
|
|
|
struct dns_child child[MAXCHILD]; /* DNS child pipe data */
|
|
|
|
-DNODEPTR host_table[MAXHASH]; /* hostname/ip hash table */
|
|
+extern DNODEPTR host_table[MAXHASH]; /* hostname/ip hash table */
|
|
|
|
-char buffer[BUFSIZE]; /* log file record buffer */
|
|
-char tmp_buf[BUFSIZE]; /* used to temp save above */
|
|
-struct utsname system_info; /* system info structure */
|
|
+extern char buffer[BUFSIZE]; /* log file record buffer */
|
|
+extern char tmp_buf[BUFSIZE]; /* used to temp save above */
|
|
+extern struct utsname system_info; /* system info structure */
|
|
|
|
int raiseSigChild = 1;
|
|
|