From e622160408820f99d8289bc065291ae8ac709113 Mon Sep 17 00:00:00 2001 From: dgp Date: Wed, 28 Nov 2007 20:12:37 +0000 Subject: * unix/tkUnixPort.h: When unix/configure determines whether the intptr_t type is available, it has the header present. It's only fair that we let Tk have it too. --- ChangeLog | 6 ++++++ unix/tkUnixPort.h | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 65766b8..db1ffd0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-11-28 Don Porter + + * unix/tkUnixPort.h: When unix/configure determines whether the + intptr_t type is available, it has the header present. + It's only fair that we let Tk have it too. + 2007-11-26 Kevin Kenny * 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 # endif #endif +#if HAVE_INTTYPES_H +# include +#endif #ifndef NO_UNISTD_H # include #else -- cgit v0.12