Mesa (master): egl: need stdio. h for non-Windows build too to avoid compiler warning
Brian Paul
brianp at kemper.freedesktop.org
Thu Jan 13 16:26:00 UTC 2011
Module: Mesa
Branch: master
Commit: ca31c596e8acf64cbae86b052bb5634790a540ce
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca31c596e8acf64cbae86b052bb5634790a540ce
Author: Brian Paul <brianp at vmware.com>
Date: Thu Jan 13 09:25:55 2011 -0700
egl: need stdio.h for non-Windows build too to avoid compiler warning
---
src/egl/main/eglstring.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/egl/main/eglstring.h b/src/egl/main/eglstring.h
index 8a8c43c..d4c8954 100644
--- a/src/egl/main/eglstring.h
+++ b/src/egl/main/eglstring.h
@@ -2,9 +2,9 @@
#define EGLSTRING_INCLUDED
#include <string.h>
+#include <stdio.h>
#ifdef _EGL_OS_WINDOWS
-#include <stdio.h>
#define _eglstrcasecmp _stricmp
#define _eglsnprintf _snprintf
#else
More information about the mesa-commit
mailing list