diff --git a/libweston/backend-rdp/rdp.h b/libweston/backend-rdp/rdp.h index 5243cfdec..c5f515097 100644 --- a/libweston/backend-rdp/rdp.h +++ b/libweston/backend-rdp/rdp.h @@ -27,14 +27,6 @@ #ifndef RDP_H #define RDP_H -/* Workaround an issue with clang and freerdp 3 headers. Another - * option would be to build with --std=c11 but weston itself isn't - * quite ready for that - */ -#if USE_FREERDP_VERSION >= 3 && defined(__clang__) -#pragma clang diagnostic ignored "-Wtypedef-redefinition" -#endif - #include #include diff --git a/meson.build b/meson.build index 9ae739b86..779f25265 100644 --- a/meson.build +++ b/meson.build @@ -3,7 +3,7 @@ project('weston', version: '14.0.90', default_options: [ 'warning_level=3', - 'c_std=gnu99', + 'c_std=gnu11', 'b_lundef=true', ], meson_version: '>= 0.63.0',