diff options
author | andreas_kupries <akupries@shaw.ca> | 2002-03-26 23:47:55 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2002-03-26 23:47:55 (GMT) |
commit | 3c091cc5f0f0506b93eee9456fb49b41c5fb312c (patch) | |
tree | cb89b162ba1b774f8695a4af91e108e14e9a8bc5 | |
parent | fd850638fabc69a919e493c552f113b8a3eec1a9 (diff) | |
download | tk-3c091cc5f0f0506b93eee9456fb49b41c5fb312c.zip tk-3c091cc5f0f0506b93eee9456fb49b41c5fb312c.tar.gz tk-3c091cc5f0f0506b93eee9456fb49b41c5fb312c.tar.bz2 |
* unix/tkUnixFont.c: Added inclusion of <arpa/inet.h>. This fixes
a GCC/HPUX problem with missing a "htons". See also
"tclUnixPort.h" for equivalent code.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | unix/tkUnixFont.c | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2002-03-26 Andreas Kupries <andreask_kupries@users.sourceforge.net> + + * unix/tkUnixFont.c: Added inclusion of <arpa/inet.h>. This fixes + a GCC/HPUX problem with missing a "htons". See also + "tclUnixPort.h" for equivalent code. + 2002-03-25 Jeff Hobbs <jeffh@ActiveState.com> * 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 <netinet/in.h> /* for htons() prototype */ +#include <arpa/inet.h> /* inet_ntoa() */ /* * The preferred font encodings. |