From a23ff0d0693f84a3bc78226ddbbb6086112d2c8d Mon Sep 17 00:00:00 2001 From: das Date: Fri, 12 Nov 2004 19:08:01 +0000 Subject: * unix/tclUnixInit.c: moved check for HAVE_CFBUNDLE define after #include "tclInt.h" to ensure tclConfig.h has been included. --- ChangeLog | 5 +++++ unix/tclUnixInit.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index a846eed..6647cad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-11-12 Daniel Steffen + + * 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 * 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 -#endif #include "tclInt.h" #include #include @@ -29,6 +26,9 @@ # include # endif #endif +#ifdef HAVE_CFBUNDLE +#include +#endif /* * Define this if you want to revert to the old behavior of -- cgit v0.12