randr: 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
dcd4bd61b8
commit
3f0bd17d1d
|
@ -26,13 +26,13 @@
|
||||||
* Keith Packard, Intel Corporation
|
* Keith Packard, Intel Corporation
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _RANDRSTR_H_
|
||||||
|
#define _RANDRSTR_H_
|
||||||
|
|
||||||
#ifdef HAVE_DIX_CONFIG_H
|
#ifdef HAVE_DIX_CONFIG_H
|
||||||
#include <dix-config.h>
|
#include <dix-config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _RANDRSTR_H_
|
|
||||||
#define _RANDRSTR_H_
|
|
||||||
|
|
||||||
#include <X11/X.h>
|
#include <X11/X.h>
|
||||||
#include <X11/Xproto.h>
|
#include <X11/Xproto.h>
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|
Loading…
Reference in New Issue