summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordas <das>2004-11-12 19:08:01 (GMT)
committerdas <das>2004-11-12 19:08:01 (GMT)
commita23ff0d0693f84a3bc78226ddbbb6086112d2c8d (patch)
treeed46f80007b3f1470bf222ac7be28c672c2f0547 /unix
parent81b2a1f604b76c37d50d966bed7f243fbb1097c4 (diff)
downloadtcl-a23ff0d0693f84a3bc78226ddbbb6086112d2c8d.zip
tcl-a23ff0d0693f84a3bc78226ddbbb6086112d2c8d.tar.gz
tcl-a23ff0d0693f84a3bc78226ddbbb6086112d2c8d.tar.bz2
* unix/tclUnixInit.c: moved check for HAVE_CFBUNDLE define after
#include "tclInt.h" to ensure tclConfig.h has been included.
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixInit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c
index 3fe1a0f..21ec34b 100644
--- a/unix/tclUnixInit.c
+++ b/unix/tclUnixInit.c
@@ -7,12 +7,9 @@
* Copyright (c) 1999 by Scriptics Corporation.
* All rights reserved.
*
- * RCS: @(#) $Id: tclUnixInit.c,v 1.49 2004/09/22 15:51:53 msofer Exp $
+ * RCS: @(#) $Id: tclUnixInit.c,v 1.50 2004/11/12 19:08:10 das Exp $
*/
-#if defined(HAVE_CFBUNDLE)
-#include <CoreFoundation/CoreFoundation.h>
-#endif
#include "tclInt.h"
#include <stddef.h>
#include <locale.h>
@@ -29,6 +26,9 @@
# include <dlfcn.h>
# endif
#endif
+#ifdef HAVE_CFBUNDLE
+#include <CoreFoundation/CoreFoundation.h>
+#endif
/*
* Define this if you want to revert to the old behavior of