summaryrefslogtreecommitdiff
path: root/lang/python26/patches/patch-aj
blob: 99a9825fbbe7305a3547d3dac5150924b92f7994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aj,v 1.1.1.1 2009/04/19 14:42:50 wiz Exp $

--- Modules/bsddbmodule.c.orig	2006-02-15 12:27:45.000000000 -0500
+++ 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"