glamor: move include guards up to wrap the whole file

See: https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
This commit is contained in:
Mike Gelfand 2025-06-23 22:23:40 +01:00
parent cfbee4cd01
commit e2fd67a58d
No known key found for this signature in database
GPG Key ID: CC4DBBE3299B16F8

View File

@ -25,13 +25,13 @@
*
*/
#ifndef __GLAMOR_UTILS_H__
#define __GLAMOR_UTILS_H__
#ifndef GLAMOR_PRIV_H
#error This file can only be included by glamor_priv.h
#endif
#ifndef __GLAMOR_UTILS_H__
#define __GLAMOR_UTILS_H__
#include "os/bug_priv.h"
#include "glamor_prepare.h"