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:
parent
cfbee4cd01
commit
e2fd67a58d
|
@ -25,13 +25,13 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __GLAMOR_UTILS_H__
|
||||||
|
#define __GLAMOR_UTILS_H__
|
||||||
|
|
||||||
#ifndef GLAMOR_PRIV_H
|
#ifndef GLAMOR_PRIV_H
|
||||||
#error This file can only be included by glamor_priv.h
|
#error This file can only be included by glamor_priv.h
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __GLAMOR_UTILS_H__
|
|
||||||
#define __GLAMOR_UTILS_H__
|
|
||||||
|
|
||||||
#include "os/bug_priv.h"
|
#include "os/bug_priv.h"
|
||||||
|
|
||||||
#include "glamor_prepare.h"
|
#include "glamor_prepare.h"
|
||||||
|
|
Loading…
Reference in New Issue