summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-11-27 23:46:55 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-11-27 23:46:55 +0000
commit49b2d2e90f524d8d404de4b618dcd6250a14667a (patch)
tree64cc15d3047fb6f9cb086ef4732f7a8b534f61d3 /src/mesa/main
parent024b5896f09650a599fdf60aa49aaf348941c3e5 (diff)
include stdint.h for BSD
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/glheader.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index 4e3e3b5d28..316a008ae3 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -20,7 +20,7 @@
/*
* Mesa 3-D graphics library
- * Version: 6.3
+ * Version: 6.5
*
* Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
*
@@ -71,16 +71,15 @@
/* Get typedefs for uintptr_t and friends */
-#if defined(_WIN32) && !defined(__MINGW32__)
-#include <BaseTsd.h>
-#if _MSC_VER == 1200
-typedef UINT_PTR uintptr_t;
-#endif
-#if defined(__MINGW32__)
-#include <stdint.h>
-#endif
+#if defined(__MINGW32__) || defined(__NetBSD__)
+# include <stdint.h>
+#elif defined(_WIN32)
+# include <BaseTsd.h>
+# if _MSC_VER == 1200
+ typedef UINT_PTR uintptr_t;
+# endif
#else
-#include <inttypes.h>
+# include <inttypes.h>
#endif
#if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__) && !defined(BUILD_FOR_SNAP)