diff options
author | dgp <dgp@users.sourceforge.net> | 2007-11-28 20:12:37 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-11-28 20:12:37 (GMT) |
commit | e622160408820f99d8289bc065291ae8ac709113 (patch) | |
tree | ebc3575693855f2e65f6ff0407a8baac85d7b41e | |
parent | d767a87141e1fb21cf827bd522c73ffd417f8c46 (diff) | |
download | tk-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-- | ChangeLog | 6 | ||||
-rw-r--r-- | unix/tkUnixPort.h | 5 |
2 files changed, 10 insertions, 1 deletions
@@ -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 |