Fix files including xorg-server.h by mistake

A few files in the server are including xorg-server.h, which is only
for use by Xorg server drivers. This fixes those errors and then adds
a check to make sure it doesn't happen again.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Keith Packard
2014-07-30 10:13:53 -07:00
parent a08e7a098a
commit 90803042bc
6 changed files with 4 additions and 6 deletions

View File

@@ -23,8 +23,6 @@
#ifndef _DRI3_H_
#define _DRI3_H_
#include <xorg-server.h>
#ifdef DRI3
#include <X11/extensions/dri3proto.h>