summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2005-02-24 00:41:07 (GMT)
committerdas <das>2005-02-24 00:41:07 (GMT)
commitb666f2172c96229719e826da2f0e75996908f6a5 (patch)
treea12392d7b070f9c24c0941ad9154e141d14d054c
parentf0d16569a2e5e36623e17aeb5b1b05ac88b27c90 (diff)
downloadtk-b666f2172c96229719e826da2f0e75996908f6a5.zip
tk-b666f2172c96229719e826da2f0e75996908f6a5.tar.gz
tk-b666f2172c96229719e826da2f0e75996908f6a5.tar.bz2
* macosx/tkMacOSX.h: fixed incorrect inclusion of internal header.
* macosx/tkMacOSXNotify.c: corrected included headers.
-rw-r--r--ChangeLog5
-rw-r--r--macosx/tkMacOSX.h8
-rw-r--r--macosx/tkMacOSXNotify.c10
3 files changed, 13 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index b31b592..57f1ec8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-24 Daniel Steffen <das@users.sourceforge.net>
+
+ * macosx/tkMacOSX.h: fixed incorrect inclusion of internal header.
+ * macosx/tkMacOSXNotify.c: corrected included headers.
+
2005-02-22 Daniel Steffen <das@users.sourceforge.net>
* macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd, NavServicesGetFile):
diff --git a/macosx/tkMacOSX.h b/macosx/tkMacOSX.h
index 45bbf7b..c0fbbc2 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.2.2.1 2005/02/24 00:41:08 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 4a87b64..57a8b2f 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.5.2.1 2004/02/16 00:42:34 wolfsuit Exp $
+ * RCS: @(#) $Id: tkMacOSXNotify.c,v 1.5.2.2 2005/02/24 00:41:08 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>