ports/sysutils/logtool/files/patch-src_gethost.c
Stefan Eßer 6fc230b634 Fix build with -fno-common
While here add license (GPLv2)
2020-09-22 13:28:40 +00:00

11 lines
285 B
C

--- src/gethost.c.orig 2003-05-16 20:13:20 UTC
+++ src/gethost.c
@@ -21,6 +21,8 @@
/* Yee ole includes (I put this all in one file for my sanity) */
#include "includes.h"
+char lt_host[LSIZE];
+
#ifndef NO_RESOLVER
/* var's for gethostbyaddr() stuff */
extern int h_errno;