diff --git a/gfx/common/wayland_common.h b/gfx/common/wayland_common.h
index 9369f42ce5..eae66001b5 100644
--- a/gfx/common/wayland_common.h
+++ b/gfx/common/wayland_common.h
@@ -13,8 +13,7 @@
* If not, see .
*/
-#ifndef _WAYLAND_COMMON_H
-#define _WAYLAND_COMMON_H
+#pragma once
#ifdef HAVE_LIBDECOR_H
#include
@@ -91,5 +90,3 @@ void gfx_ctx_wl_check_window_common(gfx_ctx_wayland_data_t *wl,
#ifdef HAVE_LIBDECOR_H
extern const struct libdecor_interface libdecor_interface;
#endif
-
-#endif