[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] elf{,_abi}.h in FreeBSD.h
From: |
Magnus Henoch |
Subject: |
[Gcl-devel] elf{,_abi}.h in FreeBSD.h |
Date: |
Sat, 12 Jun 2004 15:02:16 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
elf.h is being included in h/FreeBSD.h. For some reason OpenBSD calls
this header elf_abi.h, thus, for trunk and branch:
Index: h/FreeBSD.h
===================================================================
RCS file: /cvsroot/gcl/gcl/h/FreeBSD.h,v
retrieving revision 1.2.6.2.2.1
diff -u -r1.2.6.2.2.1 FreeBSD.h
--- h/FreeBSD.h 12 Jun 2004 05:23:22 -0000 1.2.6.2.2.1
+++ h/FreeBSD.h 12 Jun 2004 12:46:46 -0000
@@ -25,7 +25,11 @@
/* OpenBSD needs sys/types.h included before link.h, which is included
in linux.h */
#include <sys/types.h>
+#if defined(HAVE_ELF_H)
#include <elf.h>
+#elif defined(HAVE_ELF_ABI_H)
+#include <elf_abi.h>
+#endif
#include "linux.h"
#if defined(__i386__)
Regards,
Magnus
- [Gcl-devel] elf{,_abi}.h in FreeBSD.h,
Magnus Henoch <=