Mesa (mesa_7_6_branch): glx: include string.h to silence missing memset() prototype warning

Brian Paul brianp at kemper.freedesktop.org
Tue Sep 22 19:48:38 UTC 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: bc7546476078dd520af4853f6f0d3f577ec670ec
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc7546476078dd520af4853f6f0d3f577ec670ec

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Sep 22 13:19:05 2009 -0600

glx: include string.h to silence missing memset() prototype warning

---

 src/glx/x11/glxhash.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/glx/x11/glxhash.c b/src/glx/x11/glxhash.c
index 7d28ada..6f2c51d 100644
--- a/src/glx/x11/glxhash.c
+++ b/src/glx/x11/glxhash.c
@@ -77,6 +77,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #define HASH_MAGIC 0xdeadbeef
 #define HASH_DEBUG 0




More information about the mesa-commit mailing list