r3831 - trunk/src/host/dfu-util/src
laforge at sita.openmoko.org
laforge at sita.openmoko.org
Mon Jan 14 21:40:59 CET 2008
Author: laforge
Date: 2008-01-14 21:40:58 +0100 (Mon, 14 Jan 2008)
New Revision: 3831
Modified:
trunk/src/host/dfu-util/src/main.c
Log:
missing osx header
Modified: trunk/src/host/dfu-util/src/main.c
===================================================================
--- trunk/src/host/dfu-util/src/main.c 2008-01-14 20:36:23 UTC (rev 3830)
+++ trunk/src/host/dfu-util/src/main.c 2008-01-14 20:40:58 UTC (rev 3831)
@@ -44,6 +44,7 @@
/* define a portable macro for swapping a 16bit word */
#if defined(WORDS_BIGENDIAN)
# if defined(__APPLE__) && defined (OSX)
+# include <libkern/OSByteOrder.h>
# define LE2CPU16(x) OSSwapInt16(x)
# else
# define LE2CPU16(x) bswap_16(x)
More information about the commitlog
mailing list