diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-09-22 13:28:40 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-09-22 13:28:40 +0000 |
commit | 6fc230b63497dbc649eb084f62fabb2f08b2edfd (patch) | |
tree | 48f188b573901e55b9b955dd079ead21fc853c78 /sysutils/logtool/files/patch-src_gethost.c | |
parent | - Update to 1.4.3 (diff) |
Fix build with -fno-common
While here add license (GPLv2)
Notes
Notes:
svn path=/head/; revision=549592
Diffstat (limited to 'sysutils/logtool/files/patch-src_gethost.c')
-rw-r--r-- | sysutils/logtool/files/patch-src_gethost.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/logtool/files/patch-src_gethost.c b/sysutils/logtool/files/patch-src_gethost.c new file mode 100644 index 000000000000..42b24339cb14 --- /dev/null +++ b/sysutils/logtool/files/patch-src_gethost.c @@ -0,0 +1,11 @@ +--- 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; |