summaryrefslogtreecommitdiff
path: root/GL/glx
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2006-02-10 22:00:30 +0000
committerEric Anholt <anholt@freebsd.org>2006-02-10 22:00:30 +0000
commitc3d14036729fd186d4ec7ca1de603e1f2d174e2f (patch)
tree6fc1290e4da4a16eea3c10c250d302df6b9e98c2 /GL/glx
parenta8cec1b656f57746758613213de1d6e5acb79451 (diff)
Remove libcwrapper usage from xorg server modules. The libcwrapper is only
of (marginal) use in the drivers, and that usage remains.
Diffstat (limited to 'GL/glx')
-rw-r--r--GL/glx/glxcmds.c2
-rw-r--r--GL/glx/glximports.c4
-rw-r--r--GL/glx/glxscreens.c4
-rw-r--r--GL/glx/glxutil.c2
-rw-r--r--GL/glx/indirect_util.c2
-rw-r--r--GL/glx/single2.c4
6 files changed, 15 insertions, 3 deletions
diff --git a/GL/glx/glxcmds.c b/GL/glx/glxcmds.c
index f889d4286..c63b17008 100644
--- a/GL/glx/glxcmds.c
+++ b/GL/glx/glxcmds.c
@@ -40,6 +40,8 @@
#include <dix-config.h>
#endif
+#include <string.h>
+
#include "glxserver.h"
#include <GL/glxtokens.h>
#include <unpack.h>
diff --git a/GL/glx/glximports.c b/GL/glx/glximports.c
index fae2346b9..a443495c4 100644
--- a/GL/glx/glximports.c
+++ b/GL/glx/glximports.c
@@ -38,6 +38,10 @@
#include <dix-config.h>
#endif
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+
#include "glxserver.h"
#include "glxcontext.h"
#include "glximports.h"
diff --git a/GL/glx/glxscreens.c b/GL/glx/glxscreens.c
index 58b38b1a2..ffe1935e3 100644
--- a/GL/glx/glxscreens.c
+++ b/GL/glx/glxscreens.c
@@ -38,9 +38,7 @@
#include <dix-config.h>
#endif
-#ifdef IN_MODULE
-#include <xf86_ansic.h>
-#else
+#ifndef IN_MODULE
#include <string.h>
#include <signal.h>
#endif
diff --git a/GL/glx/glxutil.c b/GL/glx/glxutil.c
index 03bc19f63..25586433f 100644
--- a/GL/glx/glxutil.c
+++ b/GL/glx/glxutil.c
@@ -40,6 +40,8 @@
#include <dix-config.h>
#endif
+#include <string.h>
+
#include "glxserver.h"
#include <GL/glxtokens.h>
#include <unpack.h>
diff --git a/GL/glx/indirect_util.c b/GL/glx/indirect_util.c
index bf0ba66f2..706d43864 100644
--- a/GL/glx/indirect_util.c
+++ b/GL/glx/indirect_util.c
@@ -23,6 +23,8 @@
* SOFTWARE.
*/
+#include <string.h>
+
#include <X11/Xmd.h>
#include <GL/gl.h>
#include <GL/glxproto.h>
diff --git a/GL/glx/single2.c b/GL/glx/single2.c
index fc6cdf160..c44336af4 100644
--- a/GL/glx/single2.c
+++ b/GL/glx/single2.c
@@ -39,6 +39,10 @@
#include <dix-config.h>
#endif
+#include <string.h>
+#include <stdio.h>
+#include <stdlib.h>
+
#include "glxserver.h"
#include "glxutil.h"
#include "glxext.h"