summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/ddsample.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/extras/Mesa/src/ddsample.c')
-rw-r--r--xc/extras/Mesa/src/ddsample.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/xc/extras/Mesa/src/ddsample.c b/xc/extras/Mesa/src/ddsample.c
index f4af736f6..c390f4c54 100644
--- a/xc/extras/Mesa/src/ddsample.c
+++ b/xc/extras/Mesa/src/ddsample.c
@@ -1,8 +1,8 @@
-/* $Id: ddsample.c,v 1.3 1999/12/14 02:39:38 daryll Exp $ */
+/* $Id: ddsample.c,v 1.4 2000/01/30 00:27:01 brianp Exp $ */
/*
* Mesa 3-D graphics library
- * Version: 3.1
+ * Version: 3.3
*
* Copyright (C) 1999 Brian Paul All Rights Reserved.
*
@@ -25,10 +25,6 @@
*/
-
-
-
-
/*
* This is a sample template for writing new Mesa device drivers.
* You'll have to rewrite much of the code below.
@@ -56,16 +52,17 @@
* the core Mesa library.
*/
-#ifndef XFree86Server
-#include <stdlib.h>
+
+#ifdef PC_HEADER
+#include "all.h"
#else
-#include "GL/xf86glx.h"
-#endif
+#include "glheader.h"
#include "GL/FooMesa.h"
#include "context.h"
#include "matrix.h"
#include "types.h"
#include "vb.h"
+#endif