aboutsummaryrefslogtreecommitdiffstats
path: root/editors/emacs20-dl/files/patch-ai
blob: c506c8761586900c53ee5c366c37b6a7a3b35244 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- src/unexelf.c.orig  Mon May 15 17:14:02 2000
+++ src/unexelf.c   Sat Jul  1 18:17:15 2000
@@ -506,6 +506,14 @@
 # include <link.h> /* get ElfW etc */
 #endif
 
+#ifdef __FreeBSD__
+# ifdef __STDC__
+#  define ElfW(type)   Elf_##type
+# else
+#  define ElfW(type)   Elf_/**/type
+# endif
+#endif
+
 #ifndef ElfW
 # ifdef __STDC__
 #  define ElfBitsW(bits, type) Elf##bits##_##type