diff options
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSX.h | 8 | ||||
-rw-r--r-- | macosx/tkMacOSXNotify.c | 10 |
2 files changed, 8 insertions, 10 deletions
diff --git a/macosx/tkMacOSX.h b/macosx/tkMacOSX.h index 45bbf7b..89e6641 100644 --- a/macosx/tkMacOSX.h +++ b/macosx/tkMacOSX.h @@ -1,5 +1,5 @@ /* - * tkMacOSXInt.h -- + * tkMacOSX.h -- * * Declarations of Macintosh specific exported variables and procedures. * @@ -9,14 +9,16 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSX.h,v 1.2 2002/08/31 06:12:29 das Exp $ + * RCS: @(#) $Id: tkMacOSX.h,v 1.3 2005/02/24 00:41:04 das Exp $ */ #ifndef _TKMAC #define _TKMAC #include <Carbon/Carbon.h> -#include "tkInt.h" +#ifndef _TK +#include "tk.h" +#endif /* * Structures and function types for handling Netscape-type in process diff --git a/macosx/tkMacOSXNotify.c b/macosx/tkMacOSXNotify.c index 7ab74e0..d2991a7 100644 --- a/macosx/tkMacOSXNotify.c +++ b/macosx/tkMacOSXNotify.c @@ -1,5 +1,5 @@ /* - * tclMacOSXNotify.c -- + * tkMacOSXNotify.c -- * * This file contains the implementation of a merged * Carbon/select-based notifier, which is the lowest-level part @@ -12,15 +12,11 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXNotify.c,v 1.7 2004/02/16 00:19:42 wolfsuit Exp $ + * RCS: @(#) $Id: tkMacOSXNotify.c,v 1.8 2005/02/24 00:41:04 das Exp $ */ #include "tclInt.h" - -/* FIXME - Why do I need these here? */ - -#undef environ -#include "tkMacOSX.h" +#include "tkInt.h" #include "tkMacOSXEvent.h" #include <signal.h> |