--- ext/ctemplate/ctemplate-src/src/template_string.cc.orig 2009-04-28 10:21:08.000000000 +0200 +++ ext/ctemplate/ctemplate-src/src/template_string.cc 2009-04-28 10:22:09.000000000 +0200 @@ -85,7 +85,7 @@ // we do what we can to make this as efficient as possible. #if defined(HAVE_BYTESWAP_H) # include // GNU (especially linux) -# define BSWAP32(x) bswap32(x) +# define BSWAP32(x) bswap_32(x) #elif defined(HAVE_LIBKERN_OSBYTEORDER_H) # include // OS X # define BSWAP32(x) OSSwapInt32(x)