summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixFont.c
diff options
context:
space:
mode:
authorandreas_kupries <andreas_kupries@noemail.net>2002-03-27 00:14:05 (GMT)
committerandreas_kupries <andreas_kupries@noemail.net>2002-03-27 00:14:05 (GMT)
commita95c741a0af9f384e60a2a9dbd5f89b76925c185 (patch)
tree778572047ebf6f1c1f95bc528ab2c8e5b94ead10 /unix/tkUnixFont.c
parent16bd353af249744ef84bac0a6e17f979f3dd2871 (diff)
downloadtk-a95c741a0af9f384e60a2a9dbd5f89b76925c185.zip
tk-a95c741a0af9f384e60a2a9dbd5f89b76925c185.tar.gz
tk-a95c741a0af9f384e60a2a9dbd5f89b76925c185.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. FossilOrigin-Name: 5569e94a9f1c533c71f44250bf6aa9b8172773ab
Diffstat (limited to 'unix/tkUnixFont.c')
-rw-r--r--unix/tkUnixFont.c3
1 files changed, 2 insertions, 1 deletions
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.