From: Brian Paul Date: Sun, 27 Nov 2005 23:46:55 +0000 (+0000) Subject: include stdint.h for BSD X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49b2d2e90f524d8d404de4b618dcd6250a14667a;p=mesa.git include stdint.h for BSD --- diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index 4e3e3b5d288..316a008ae30 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 -#if _MSC_VER == 1200 -typedef UINT_PTR uintptr_t; -#endif -#if defined(__MINGW32__) -#include -#endif +#if defined(__MINGW32__) || defined(__NetBSD__) +# include +#elif defined(_WIN32) +# include +# if _MSC_VER == 1200 + typedef UINT_PTR uintptr_t; +# endif #else -#include +# include #endif #if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__) && !defined(BUILD_FOR_SNAP)