diff options
author | andreas_kupries <akupries@shaw.ca> | 2002-03-27 00:14:06 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2002-03-27 00:14:06 (GMT) |
commit | cb6fbdab2122df199e42d92101f361281b5a978c (patch) | |
tree | 778572047ebf6f1c1f95bc528ab2c8e5b94ead10 | |
parent | eae89c67d8e28ea5b6eeaa5dd5f760779cd509a3 (diff) | |
download | tk-cb6fbdab2122df199e42d92101f361281b5a978c.zip tk-cb6fbdab2122df199e42d92101f361281b5a978c.tar.gz tk-cb6fbdab2122df199e42d92101f361281b5a978c.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-21 David Gravereaux <davygrvy@pobox.com> * win/makefile.vc: Changed optimize flag to -0ti instead of -02. diff --git a/unix/tkUnixFont.c b/unix/tkUnixFont.c index 4d711e8..5575e09 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.9 2001/06/04 03:07:54 hobbs Exp $ + * RCS: @(#) $Id: tkUnixFont.c,v 1.10 2002/03/27 00:14:06 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. |