Mesa (mesa_7_7_branch): vmware/xorg: Avoid warning about HAVE_STDINT_H being redefined.

Michel Dänzer daenzer at kemper.freedesktop.org
Tue Dec 8 02:46:49 PST 2009


Module: Mesa
Branch: mesa_7_7_branch
Commit: 9e42683fb3ecd453267a5885a138b425a2b79236
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e42683fb3ecd453267a5885a138b425a2b79236

Author: Michel Dänzer <daenzer at vmware.com>
Date:   Tue Dec  8 11:43:22 2009 +0100

vmware/xorg: Avoid warning about HAVE_STDINT_H being redefined.

---

 src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c b/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c
index ad69938..c84368b 100644
--- a/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c
+++ b/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c
@@ -31,7 +31,9 @@
  * @author Jakob Bornecrantz <jakob at vmware.com>
  */
 
-#define HAVE_STDINT_H
+#ifndef HAVE_STDINT_H
+#define HAVE_STDINT_H 1
+#endif
 #define _FILE_OFFSET_BITS 64
 
 #include <errno.h>



More information about the mesa-commit mailing list