From 3c091cc5f0f0506b93eee9456fb49b41c5fb312c Mon Sep 17 00:00:00 2001 From: andreas_kupries Date: Tue, 26 Mar 2002 23:47:55 +0000 Subject: * unix/tkUnixFont.c: Added inclusion of . This fixes a GCC/HPUX problem with missing a "htons". See also "tclUnixPort.h" for equivalent code. --- ChangeLog | 6 ++++++ unix/tkUnixFont.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 24e0e4b..7b81771 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-03-26 Andreas Kupries + + * unix/tkUnixFont.c: Added inclusion of . This fixes + a GCC/HPUX problem with missing a "htons". See also + "tclUnixPort.h" for equivalent code. + 2002-03-25 Jeff Hobbs * unix/Makefile.in: added shell and gdb targets, prevent diff --git a/unix/tkUnixFont.c b/unix/tkUnixFont.c index 7ffc42c..f3e86d2 100644 --- a/unix/tkUnixFont.c +++ b/unix/tkUnixFont.c @@ -9,12 +9,13 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkUnixFont.c,v 1.8.2.2 2001/04/05 22:09:13 hobbs Exp $ + * RCS: @(#) $Id: tkUnixFont.c,v 1.8.2.3 2002/03/26 23:47:55 andreas_kupries Exp $ */ #include "tkUnixInt.h" #include "tkFont.h" #include /* for htons() prototype */ +#include /* inet_ntoa() */ /* * The preferred font encodings. -- cgit v0.12