headers: check that __INCLUDE_LEVEL__ is defined before using it (#5575)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 13 Mar 2017 07:11:24 +0000 (03:11 -0400)
committerMartin Pitt <martinpitt@users.noreply.github.com>
Mon, 13 Mar 2017 07:11:24 +0000 (08:11 +0100)
commit1070d271fa8fa553d57dd5f74dd1e3f60732d0b9
tree20e4a21493124052d35359ff521edd19c5568f22
parent962a18980d786fc2e8fbf2981a3b483b273ff580
headers: check that __INCLUDE_LEVEL__ is defined before using it (#5575)

That macro is a gcc extension, and while widely supported, not ubiquitous.
In particular the coverity scanner is having trouble with it.
src/systemd/_sd-common.h