composite: 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:17:37 +01:00
parent 88693ad15f
commit d7b6352154
No known key found for this signature in database
GPG Key ID: CC4DBBE3299B16F8
2 changed files with 6 additions and 6 deletions

View File

@ -41,13 +41,13 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef _COMPINT_H_
#define _COMPINT_H_
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _COMPINT_H_
#define _COMPINT_H_
#include "dix/screen_hooks_priv.h"
#include "misc.h"

View File

@ -21,13 +21,13 @@
* SOFTWARE.
*/
#ifndef _COMPOSITEEXT_H_
#define _COMPOSITEEXT_H_
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _COMPOSITEEXT_H_
#define _COMPOSITEEXT_H_
#include "misc.h"
#include "scrnintstr.h"