summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-11-28 20:12:37 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-11-28 20:12:37 (GMT)
commite622160408820f99d8289bc065291ae8ac709113 (patch)
treeebc3575693855f2e65f6ff0407a8baac85d7b41e
parentd767a87141e1fb21cf827bd522c73ffd417f8c46 (diff)
downloadtk-e622160408820f99d8289bc065291ae8ac709113.zip
tk-e622160408820f99d8289bc065291ae8ac709113.tar.gz
tk-e622160408820f99d8289bc065291ae8ac709113.tar.bz2
* unix/tkUnixPort.h: When unix/configure determines whether the
intptr_t type is available, it has the <inttypes.h> header present. It's only fair that we let Tk have it too.
-rw-r--r--ChangeLog6
-rw-r--r--unix/tkUnixPort.h5
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 65766b8..db1ffd0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-28 Don Porter <dgp@users.sourceforge.net>
+
+ * unix/tkUnixPort.h: When unix/configure determines whether the
+ intptr_t type is available, it has the <inttypes.h> header present.
+ It's only fair that we let Tk have it too.
+
2007-11-26 Kevin Kenny <kennykb@acm.org>
* generic/tkImgPPM.c (StringReadPPM): Corrected a comparison
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index e8d4c67..bdcfc13 100644
--- a/unix/tkUnixPort.h
+++ b/unix/tkUnixPort.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixPort.h,v 1.12 2006/09/06 22:39:28 hobbs Exp $
+ * RCS: @(#) $Id: tkUnixPort.h,v 1.13 2007/11/28 20:12:38 dgp Exp $
*/
#ifndef _UNIXPORT
@@ -69,6 +69,9 @@
# include <time.h>
# endif
#endif
+#if HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
#ifndef NO_UNISTD_H
# include <unistd.h>
#else