slirp: Avoid compiler warnings about address of packet members

This commit is contained in:
Mark Pizzolato 2017-12-02 15:50:24 -08:00
parent afc5580db8
commit b080aa7a2f

View file

@ -55,4 +55,8 @@
#define GCC_FMT_ATTR(n, m)
#endif
#if defined (__clang__)
#pragma clang diagnostic ignored "-Waddress-of-packed-member"
#endif
#endif /* COMPILER_H */