--- osprey/libiberty/config.h.orig 2008-11-30 17:00:00.000000000 +0100 +++ osprey/libiberty/config.h 2009-01-23 13:10:59.000000000 +0100 @@ -41,7 +41,7 @@ /* #undef vfork */ /* Define to `unsigned long' if doesn't define. */ -#ifndef __APPLE__ +#if !defined( __APPLE__ ) && !defined(__FreeBSD__) #define uintptr_t unsigned long #endif --- osprey/libelf/config.h.orig 2008-11-30 17:00:00.000000000 +0100 +++ osprey/libelf/config.h 2009-01-17 23:05:36.000000000 +0100 @@ -32,7 +32,7 @@ /* #undef HAVE_CATGETS */ /* Define if you have the gettext function. */ -#if defined(BUILD_OS_DARWIN) +#if defined(BUILD_OS_DARWIN) || defined(__FreeBSD__) #undef HAVE_GETTEXT #else /* defined(BUILD_OS_DARWIN) */ #if !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__APPLE__)