From dd1712abdca625fd5b2425ac47545fbe0d47d9fc Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sun, 17 Jan 2010 10:47:46 +0100 Subject: [PATCH] Use glibc endianness-related headers if available BSD headers aren't working properly on kFreeBSD, so use the glibc ones. --- src/transcode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transcode.c b/src/transcode.c index 28d24ca9..ae92940a 100644 --- a/src/transcode.c +++ b/src/transcode.c @@ -31,7 +31,7 @@ #include #include -#if defined(__linux__) +#if defined(__linux__) || defined(__GLIBC__) # include # include #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)