From 036ce1f28e50262b12ca24298c3ed16b51cd7473 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Thu, 28 Jan 2021 17:39:19 +0100 Subject: [PATCH] native/cogl-utils: Minor macro cleanup We don't use 'pragma once' in mutter, and cogl/cogl.h isn't a system include. Part-of: --- src/backends/native/meta-cogl-utils.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/backends/native/meta-cogl-utils.h b/src/backends/native/meta-cogl-utils.h index cd20426f0..b5fe6296f 100644 --- a/src/backends/native/meta-cogl-utils.h +++ b/src/backends/native/meta-cogl-utils.h @@ -21,11 +21,10 @@ * */ +#ifndef META_COGL_UTILS_H +#define META_COGL_UTILS_H - -#pragma once - -#include +#include "cogl/cogl.h" G_BEGIN_DECLS @@ -35,3 +34,5 @@ meta_cogl_pixel_format_from_drm_format (uint32_t drm_format, CoglTextureComponents *out_components); G_END_DECLS + +#endif /* META_COGL_UTILS_H */