mirror of https://github.com/thesofproject/sof.git
elf: Add header guard to elf.h
Added header guard in elf.h file to allow safe include this header by multiple units. Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
This commit is contained in:
parent
9643a986dd
commit
b2177e5585
|
@ -5,6 +5,9 @@
|
|||
* Portions Copyright 2009 The Go Authors. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __ELF_H__
|
||||
#define __ELF_H__
|
||||
|
||||
/*
|
||||
* ELF definitions that are independent of architecture or word size.
|
||||
*/
|
||||
|
@ -929,3 +932,5 @@ typedef struct {
|
|||
#define ELF32SHDRSIZE sizeof(Elf32_Shdr)
|
||||
#define ELF32SYMSIZE sizeof(Elf32_Sym)
|
||||
#define ELF32RELSIZE 8
|
||||
|
||||
#endif /* __ELF_H__ */
|
||||
|
|
Loading…
Reference in New Issue