summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@gmail.com>2003-08-23 01:28:59 +0000
committerJon Smirl <jonsmirl@gmail.com>2003-08-23 01:28:59 +0000
commit52f246bd23c7dffa0589bf122955d8e6759fbdf1 (patch)
treef0c2f727ebd0f2b6d8d7d3627b4ab4ed5eeefe13
parent724c2c7f6f5638f0e761f7bb181480695c275831 (diff)
Added missing includes for standard header files
-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 3801963f9d..36fa10d222 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 bea845c8ff..d4d6729f93 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 911bf4cb86..394f3e2538 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 3508a21950..58effcf484 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>