add missing 'pragma GCC diagnostic push'

This commit is contained in:
Jérémy Zurcher 2014-08-27 09:22:27 +02:00
parent 6b56465bac
commit 25aabe7aa7
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
# define E_COMP_WL_H
/* NB: Turn off shadow warnings for Wayland includes */
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wshadow"
# define WL_HIDE_DEPRECATED
# include <wayland-server.h>