From ca9400f0519261a0d8a282ff1dcaadaddf00fd64 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 31 Jul 2010 09:37:03 +0000 Subject: [PATCH] Copy Sun-specific inclusion of from 2.7 maint to trunk; it seems to not have been merged to py3k. --- Modules/_ctypes/ctypes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/_ctypes/ctypes.h b/Modules/_ctypes/ctypes.h index e0bad079531..0af5fa1ddf4 100644 --- a/Modules/_ctypes/ctypes.h +++ b/Modules/_ctypes/ctypes.h @@ -1,3 +1,7 @@ +#if defined (__SVR4) && defined (__sun) +# include +#endif + #ifndef MS_WIN32 #define max(a, b) ((a) > (b) ? (a) : (b)) #define min(a, b) ((a) < (b) ? (a) : (b))