summaryrefslogtreecommitdiffstats
path: root/contrib/elftoolchain
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2014-01-16 21:47:27 +0000
committerkaiw <kaiw@FreeBSD.org>2014-01-16 21:47:27 +0000
commit53f2672ff78be42389cf41a8258f6e9ce36808fb (patch)
tree5d2a156cf7b274ddd652db997d746996b683185a /contrib/elftoolchain
parent7497ad86a797a1d738aa74c755ae630181e26b9c (diff)
downloadFreeBSD-src-53f2672ff78be42389cf41a8258f6e9ce36808fb.zip
FreeBSD-src-53f2672ff78be42389cf41a8258f6e9ce36808fb.tar.gz
Use FreeBSD's ELF headers instead of the elfdefinitions.h header which
comes with elftoolchain. This version of libelf doesn't need to be portable; using FreeBSD's own ELF headers will avoid conflicts and make integration easier.
Diffstat (limited to 'contrib/elftoolchain')
-rw-r--r--contrib/elftoolchain/libelf/libelf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/elftoolchain/libelf/libelf.h b/contrib/elftoolchain/libelf/libelf.h
index d3219d7..cfe7350 100644
--- a/contrib/elftoolchain/libelf/libelf.h
+++ b/contrib/elftoolchain/libelf/libelf.h
@@ -30,8 +30,8 @@
#define _LIBELF_H_
#include <sys/types.h>
-
-#include <elfdefinitions.h>
+#include <sys/elf32.h>
+#include <sys/elf64.h>
/* Library private data structures */
typedef struct _Elf Elf;
OpenPOWER on IntegriCloud