summaryrefslogtreecommitdiffstats
path: root/src/blueshift_idcrtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/blueshift_idcrtc.c')
-rw-r--r--src/blueshift_idcrtc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blueshift_idcrtc.c b/src/blueshift_idcrtc.c
index c1f73b6..248c99e 100644
--- a/src/blueshift_idcrtc.c
+++ b/src/blueshift_idcrtc.c
@@ -56,8 +56,11 @@ static xcb_generic_error_t* error;
* @param argv Command line arguments
* @return Zero on success
*/
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wstack-protector"
int main(int argc, char** argv)
{
+#pragma GCC diagnostic pop
char* display = NULL;
xcb_randr_query_version_cookie_t version_cookie;
xcb_randr_query_version_reply_t* randr_version;