xfree86: xf86Opt.h: fix missing include

<X11/Xdefs.h> is needed for `Bool` type.

Consumers shouldn't have to rely on Xdefs.h being accidentally included
by something else.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1782>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-02-11 10:48:34 +01:00 committed by Marge Bot
parent 5f1bdd0aa3
commit 80a3df55ae

View File

@ -1,4 +1,3 @@
/* /*
* Copyright (c) 1998-2003 by The XFree86 Project, Inc. * Copyright (c) 1998-2003 by The XFree86 Project, Inc.
* *
@ -30,6 +29,9 @@
#ifndef _XF86_OPT_H_ #ifndef _XF86_OPT_H_
#define _XF86_OPT_H_ #define _XF86_OPT_H_
#include <X11/Xdefs.h>
#include "xf86Optionstr.h" #include "xf86Optionstr.h"
typedef struct { typedef struct {