summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/unichrome/server/via_dri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/server/via_dri.c')
-rw-r--r--src/mesa/drivers/dri/unichrome/server/via_dri.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/mesa/drivers/dri/unichrome/server/via_dri.c b/src/mesa/drivers/dri/unichrome/server/via_dri.c
index b8c8ffc68e..63c49757da 100644
--- a/src/mesa/drivers/dri/unichrome/server/via_dri.c
+++ b/src/mesa/drivers/dri/unichrome/server/via_dri.c
@@ -22,19 +22,6 @@
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-#if 0
-#include "xf86.h"
-#include "xf86_OSproc.h"
-#include "xf86_ansic.h"
-#include "xf86Priv.h"
-
-#include "xf86PciInfo.h"
-#include "xf86Pci.h"
-
-#define _XF86DRI_SERVER_
-#include "GL/glxtokens.h"
-
-#else
#include <stdio.h>
#include <stdlib.h>
@@ -45,7 +32,8 @@
#include "driver.h"
#include "drm.h"
#include "imports.h"
-#endif
+
+typedef int Bool; /* via_dri.h makes use of this */
#include "dri_util.h"