util.h: Add missing gcc pragma push before pragma pop
While building with clang: ./util.h:176:24: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
abbe01af59
commit
55cdcc159b
1 changed files with 1 additions and 0 deletions
1
util.h
1
util.h
|
@ -165,6 +165,7 @@
|
||||||
struct ctx;
|
struct ctx;
|
||||||
|
|
||||||
struct ipv6hdr {
|
struct ipv6hdr {
|
||||||
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wpedantic"
|
#pragma GCC diagnostic ignored "-Wpedantic"
|
||||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||||
uint8_t version:4,
|
uint8_t version:4,
|
||||||
|
|
Loading…
Reference in a new issue