summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/tclMacOSXFCmd.c3
-rw-r--r--unix/tclLoadDyld.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/macosx/tclMacOSXFCmd.c b/macosx/tclMacOSXFCmd.c
index 17cccc2..caa72a7 100644
--- a/macosx/tclMacOSXFCmd.c
+++ b/macosx/tclMacOSXFCmd.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclMacOSXFCmd.c,v 1.6 2005/11/27 02:33:49 das Exp $
+ * RCS: @(#) $Id: tclMacOSXFCmd.c,v 1.7 2005/11/27 06:09:10 das Exp $
*/
#include "tclInt.h"
@@ -18,6 +18,7 @@
#ifdef HAVE_GETATTRLIST
#include <sys/attr.h>
#include <sys/paths.h>
+#include <libkern/OSByteOrder.h>
#endif
/* Darwin 8 copyfile API */
diff --git a/unix/tclLoadDyld.c b/unix/tclLoadDyld.c
index 8d776a0..ac38350 100644
--- a/unix/tclLoadDyld.c
+++ b/unix/tclLoadDyld.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclLoadDyld.c,v 1.21 2005/11/27 02:33:50 das Exp $
+ * RCS: @(#) $Id: tclLoadDyld.c,v 1.22 2005/11/27 06:09:10 das Exp $
*/
#include "tclInt.h"
@@ -20,6 +20,7 @@
#include <mach-o/fat.h>
#include <mach-o/swap.h>
#include <mach-o/arch.h>
+#include <libkern/OSByteOrder.h>
#include <mach/mach.h>
typedef struct Tcl_DyldModuleHandle {