built_in: Include stddef.h to avoid redefinition of offsetof() macro
commitb14fd7ed1bdbe0644601b9f0e854af1b19811f30
authorTobias Klauser <tklauser@distanz.ch>
Wed, 3 Feb 2016 10:28:44 +0000 (3 11:28 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Wed, 3 Feb 2016 10:28:44 +0000 (3 11:28 +0100)
tree9aeed4e6bc714754e70343338e888b7eb071edff
parent83c1bb0a8271338c57ab1c7d9d9bc3e53aafb314
built_in: Include stddef.h to avoid redefinition of offsetof() macro

The stddef.h header might define the offsetof() macro unconditionally,
leading to the macro being redefined if built_in.h is included _before_
stddef.h. This will lead sparse to complain as follows:

/usr/lib/gcc/x86_64-linux-gnu/4.8//include/stddef.h:413:9: warning: preprocessor token offsetof redefined
./built_in.h:151:10: this was the original definition

Fix this by explicitly including stddef.h in built_in.h

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
built_in.h