glx: fix missing include of dix-config.h

This header needs to be included first, otherwise things can easily get really
messed up. The current code only works by accident, because some other header
already including it early enough - but a subtle change in include order
can easy break it.

Thus, always make sure the header is really included first.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-04-22 20:22:27 +02:00
parent d0f28b9648
commit f763f0ec44
5 changed files with 6 additions and 2 deletions

View File

@ -31,7 +31,8 @@
* \author Ian Romanick <idr@us.ibm.com>
*/
#include "dix-config.h"
#include <dix-config.h>
#include "extension_string.h"
#include "opaque.h"

View File

@ -22,7 +22,7 @@
* OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
#include <dix-config.h>
#include <X11/Xfuncproto.h>
#include <GL/gl.h>

View File

@ -26,6 +26,7 @@
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
*/
#include <dix-config.h>
#include "vndserver_priv.h"

View File

@ -26,6 +26,7 @@
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
*/
#include <dix-config.h>
#include "vndserver_priv.h"

View File

@ -26,6 +26,7 @@
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
*/
#include <dix-config.h>
#include "vndservervendor.h"