include/compiler.h: typedef ulong for FreeBSD

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
master
Jeroen Hofstee 14 years ago committed by Wolfgang Denk
parent 09c2e90c11
commit 5bce5dc33d
  1. 2
      include/compiler.h

@ -44,7 +44,7 @@
#ifdef __linux__ #ifdef __linux__
# include <endian.h> # include <endian.h>
# include <byteswap.h> # include <byteswap.h>
#elif defined(__MACH__) #elif defined(__MACH__) || defined(__FreeBSD__)
# include <machine/endian.h> # include <machine/endian.h>
typedef unsigned long ulong; typedef unsigned long ulong;
#endif #endif

Loading…
Cancel
Save