From d46870272ca5131836ccdf807610b013dcb3ef98 Mon Sep 17 00:00:00 2001 From: jingham Date: Sat, 22 May 1999 06:32:42 +0000 Subject: Changes needed to get Tk8.1 to compile with stubs on the Mac --- mac/tkMacDialog.c | 3 ++- mac/tkMacDraw.c | 3 ++- mac/tkMacInt.h | 10 ++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/mac/tkMacDialog.c b/mac/tkMacDialog.c index 736f157..cfd1863 100644 --- a/mac/tkMacDialog.c +++ b/mac/tkMacDialog.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacDialog.c,v 1.3 1999/04/16 01:51:30 stanton Exp $ + * RCS: @(#) $Id: tkMacDialog.c,v 1.4 1999/05/22 06:32:42 jingham Exp $ */ #include @@ -23,6 +23,7 @@ #include "tkPort.h" #include "tkInt.h" #include "tclMacInt.h" +#include "tkMacInt.h" #include "tkFileFilter.h" #ifndef StrLength diff --git a/mac/tkMacDraw.c b/mac/tkMacDraw.c index 425e3b9..a346a3c 100644 --- a/mac/tkMacDraw.c +++ b/mac/tkMacDraw.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacDraw.c,v 1.4 1999/04/16 01:51:30 stanton Exp $ + * RCS: @(#) $Id: tkMacDraw.c,v 1.5 1999/05/22 06:32:50 jingham Exp $ */ #include "tkInt.h" @@ -23,6 +23,7 @@ #include #include #include "tkMacInt.h" +#include "tkPort.h" #ifndef PI # define PI 3.14159265358979323846 diff --git a/mac/tkMacInt.h b/mac/tkMacInt.h index e6478ab..6a526d5 100644 --- a/mac/tkMacInt.h +++ b/mac/tkMacInt.h @@ -8,19 +8,15 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacInt.h,v 1.7 1999/04/16 01:51:31 stanton Exp $ + * RCS: @(#) $Id: tkMacInt.h,v 1.8 1999/05/22 06:32:55 jingham Exp $ */ #ifndef _TKMACINT #define _TKMACINT #include "tkInt.h" -#include "tkPort.h" - -#ifndef _TKMAC -# include "tkMac.h" -#endif /* _TKMAC */ +#include "tkMac.h" #include #include @@ -208,4 +204,6 @@ typedef TkMenuDefProcPtr TkMenuDefUPP; (whichItemPtr), (globalsPtr)) #endif +#include "tkIntPlatDecls.h" + #endif /* _TKMACINT */ -- cgit v0.12