$NetBSD: patch-ce,v 1.1 2004/11/24 20:45:10 jschauma Exp $ --- Modules/bsddbmodule.c Tue Nov 23 09:41:44 2004 +++ Modules/bsddbmodule.c Tue Nov 23 09:43:27 2004 @@ -13,6 +13,10 @@ www.nightmare.com/software.html */ +#if defined(__sgi) && _COMPILER_VERSION>700 && !_SGIAPI +#define _BSD_TYPES +#endif + #include "Python.h" #ifdef WITH_THREAD #include "pythread.h"