$NetBSD: patch-ak,v 1.5 2007/01/24 19:55:01 tv Exp $

--- src/mesa/main/glheader.h.orig	2005-11-27 13:16:31.000000000 -0500
+++ src/mesa/main/glheader.h
@@ -77,6 +77,12 @@
 #  if _MSC_VER == 1200
      typedef UINT_PTR uintptr_t;
 #  endif 
+#elif defined(__INTERIX)
+/* Interix 3.x has a gcc that shadows this. */
+#  ifndef _UINTPTR_T_DEFINED
+     typedef unsigned long uintptr_t;
+#  define _UINTPTR_T_DEFINED
+#  endif
 #else
 #  include <inttypes.h>
 #endif
