summaryrefslogtreecommitdiff
path: root/util/cbfstool/elfheaders.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2014-03-05 12:12:09 -0600
committerAaron Durbin <adurbin@google.com>2014-03-13 05:28:44 +0100
commit54ef306377024bea83ffe0622c9a53ab4f4f5ec1 (patch)
tree418f13ae20a5aa7557bad3131f75b31f6cc1a74f /util/cbfstool/elfheaders.c
parentaa8784c2d140c373b6edaf20192a9ed0669f0956 (diff)
cbfstool: add eflparsing.h
elfparsing.h serves as the header to working with the elf parser. Additionally, only include what is needed by the other files. Many had no reason to be including elf.h aside from fixing compilation problems when including cbfs.h. Change-Id: I9eb5f09f3122aa18beeca52d2e4dc2102d70fb9d Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/5370 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Marc Jones <marc.jones@se-eng.com>
Diffstat (limited to 'util/cbfstool/elfheaders.c')
-rw-r--r--util/cbfstool/elfheaders.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/elfheaders.c b/util/cbfstool/elfheaders.c
index f987747753..0b05255204 100644
--- a/util/cbfstool/elfheaders.c
+++ b/util/cbfstool/elfheaders.c
@@ -21,7 +21,7 @@
#include <stdlib.h>
#include <string.h>
-#include "elf.h"
+#include "elfparsing.h"
#include "common.h"
#include "cbfs.h"