summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2007-11-08 15:45:31 (GMT)
committerdas <das>2007-11-08 15:45:31 (GMT)
commit2532b702fd31a6d95300d845dcde6418be093951 (patch)
treeaa097ffd10fca3a1504904e8a0dd91814a78dd5c
parentd3315a6220761ebf156cdd24a85c3bc134784f21 (diff)
downloadtk-2532b702fd31a6d95300d845dcde6418be093951.zip
tk-2532b702fd31a6d95300d845dcde6418be093951.tar.gz
tk-2532b702fd31a6d95300d845dcde6418be093951.tar.bz2
move #includes for TkMacOSXGetNamedDebugSymbol() outside of TK_MAC_DEBUG #ifdef
-rw-r--r--macosx/tkMacOSXDebug.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/tkMacOSXDebug.c b/macosx/tkMacOSXDebug.c
index 8f8e14a..affd1a1 100644
--- a/macosx/tkMacOSXDebug.c
+++ b/macosx/tkMacOSXDebug.c
@@ -54,7 +54,7 @@
* software in accordance with the terms specified in this
* license.
*
- * RCS: @(#) $Id: tkMacOSXDebug.c,v 1.16 2007/11/08 14:26:15 das Exp $
+ * RCS: @(#) $Id: tkMacOSXDebug.c,v 1.17 2007/11/08 15:45:31 das Exp $
*/
#include "tkMacOSXPrivate.h"
@@ -62,9 +62,6 @@
#ifdef TK_MAC_DEBUG
-#include <mach-o/dyld.h>
-#include <mach-o/nlist.h>
-
typedef struct {
EventKind kind;
const char * name;
@@ -482,6 +479,9 @@ TkMacOSXDebugFlashRegion(
}
}
#endif /* TK_MAC_DEBUG */
+
+#include <mach-o/dyld.h>
+#include <mach-o/nlist.h>
/*
*----------------------------------------------------------------------