X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Funexelf.c;h=9fdc974f673162c5acdb2805187ffa2f91944121;hp=9a1a7d92e8eb37c8986f7f82f4827430a3064e19;hb=ee38d21b330f5001b47a577cefb5ba7b82a3b7d3;hpb=79d2db7d65205bc85d471590726d0cf3af5598e0 diff --git a/src/unexelf.c b/src/unexelf.c index 9a1a7d9..9fdc974 100644 --- a/src/unexelf.c +++ b/src/unexelf.c @@ -475,6 +475,14 @@ typedef struct { # include #endif +#if defined(__FreeBSD__) && (defined(__alpha__) || defined(__amd64__)) +# ifdef __STDC__ +# define ElfW(type) Elf64_##type +# else +# define ElfW(type) Elf64_/**/type +# endif +#endif + #if __GNU_LIBRARY__ - 0 >= 6 # include /* get ElfW etc */ #endif