damageext: 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:20:26 +01:00
parent d7b6352154
commit dc9bf8eebb
No known key found for this signature in database
GPG Key ID: CC4DBBE3299B16F8

View File

@ -20,13 +20,13 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef _DAMAGEEXTINT_H_
#define _DAMAGEEXTINT_H_
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _DAMAGEEXTINT_H_
#define _DAMAGEEXTINT_H_
#include <X11/X.h>
#include <X11/Xproto.h>
#include <X11/extensions/damageproto.h>