diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | unix/tclUnixInit.c | 8 |
2 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2004-11-12 Daniel Steffen <das@users.sourceforge.net> + + * unix/tclUnixInit.c: moved check for HAVE_CFBUNDLE define after + #include "tclInt.h" to ensure tclConfig.h has been included. + 2004-11-12 Reinhard Max <max@suse.de> * unix/config.h.in: 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 |