$FabBSD$ --- src/unexelf.c.orig Tue Apr 14 20:27:12 2009 +++ src/unexelf.c Tue Apr 14 20:27:38 2009 @@ -423,7 +423,7 @@ extern void fatal (const char *msgid, ...); #include #include #include -#if !defined (__NetBSD__) && !defined (__OpenBSD__) +#if !defined (__NetBSD__) && !defined (__OpenBSD__) && !defined (__FabBSD__) #include #endif #include @@ -450,7 +450,7 @@ extern void fatal (const char *msgid, ...); #define MAP_FAILED ((void *) -1) #endif -#if defined (__alpha__) && !defined (__NetBSD__) && !defined (__OpenBSD__) +#if defined (__alpha__) && !defined (__NetBSD__) && !defined (__OpenBSD__) && !defined (__FabBSD__) /* Declare COFF debugging symbol table. This used to be in /usr/include/sym.h, but this file is no longer included in Red Hat 5.0 and presumably in any other glibc 2.x based distribution. */ @@ -525,7 +525,7 @@ typedef struct { #endif /* __mips__ */ #endif /* __NetBSD__ */ -#ifdef __OpenBSD__ +#if defined (__OpenBSD__) || defined (__FabBSD__) # include #endif