summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixPort.h
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 /unix/tkUnixPort.h
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.
Diffstat (limited to 'unix/tkUnixPort.h')
-rw-r--r--unix/tkUnixPort.h5
1 files changed, 4 insertions, 1 deletions
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