$NetBSD: patch-aj,v 1.1.1.1 2004/12/05 23:27:51 recht Exp $ --- Modules/bsddbmodule.c.orig Tue May 6 22:38:52 2003 +++ Modules/bsddbmodule.c @@ -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"