summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--progs/miniglx/manytex.c3
-rw-r--r--progs/miniglx/miniglxsample.c1
-rw-r--r--progs/miniglx/miniglxtest.c3
-rw-r--r--progs/miniglx/sample_server2.c4
4 files changed, 8 insertions, 3 deletions
diff --git a/progs/miniglx/manytex.c b/progs/miniglx/manytex.c
index 3801963f9db..36fa10d222b 100644
--- a/progs/miniglx/manytex.c
+++ b/progs/miniglx/manytex.c
@@ -1,4 +1,4 @@
-/* $Id: manytex.c,v 1.1 2003/08/06 17:47:15 keithw Exp $ */
+/* $Id: manytex.c,v 1.2 2003/08/23 01:28:59 jonsmirl Exp $ */
/*
* test handling of many texture maps
@@ -12,6 +12,7 @@
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <math.h>
#include <GL/glut.h>
diff --git a/progs/miniglx/miniglxsample.c b/progs/miniglx/miniglxsample.c
index bea845c8ff7..d4d6729f932 100644
--- a/progs/miniglx/miniglxsample.c
+++ b/progs/miniglx/miniglxsample.c
@@ -3,6 +3,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <GL/gl.h>
#if USE_MINIGLX
diff --git a/progs/miniglx/miniglxtest.c b/progs/miniglx/miniglxtest.c
index 911bf4cb869..394f3e25384 100644
--- a/progs/miniglx/miniglxtest.c
+++ b/progs/miniglx/miniglxtest.c
@@ -1,4 +1,4 @@
-/* $Id: miniglxtest.c,v 1.1 2003/08/06 17:47:15 keithw Exp $ */
+/* $Id: miniglxtest.c,v 1.2 2003/08/23 01:28:59 jonsmirl Exp $ */
/*
* Test the mini GLX interface.
@@ -7,6 +7,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <GL/gl.h>
#define USE_MINI_GLX 1
#if USE_MINI_GLX
diff --git a/progs/miniglx/sample_server2.c b/progs/miniglx/sample_server2.c
index 3508a21950c..58effcf484d 100644
--- a/progs/miniglx/sample_server2.c
+++ b/progs/miniglx/sample_server2.c
@@ -1,4 +1,4 @@
-/* $Id: sample_server2.c,v 1.1 2003/08/06 17:47:15 keithw Exp $ */
+/* $Id: sample_server2.c,v 1.2 2003/08/23 01:28:59 jonsmirl Exp $ */
/*
* Sample server that just keeps first available window mapped.
@@ -17,6 +17,8 @@
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
+#include <string.h>
#include <GL/gl.h>
#include <GL/miniglx.h>
#include <errno.h>