summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-06-30 04:17:11 (GMT)
committerFred Drake <fdrake@acm.org>2000-06-30 04:17:11 (GMT)
commit947121fd9cfae1ce148493e239636d0f3fa9a863 (patch)
treed7c4afe17900552fbf6a10d858dd3d95131f1705
parentabbc7344a40d05d69868c5c9770c510a7843d7e5 (diff)
downloadcpython-947121fd9cfae1ce148493e239636d0f3fa9a863.zip
cpython-947121fd9cfae1ce148493e239636d0f3fa9a863.tar.gz
cpython-947121fd9cfae1ce148493e239636d0f3fa9a863.tar.bz2
Add a comment about needing to change a #include if using a version of
Berkeley DB 2.0 or newer; most Linux distros will include a more recent version than 1.85.
-rw-r--r--Modules/bsddbmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/bsddbmodule.c b/Modules/bsddbmodule.c
index 97a8e8b..925e928 100644
--- a/Modules/bsddbmodule.c
+++ b/Modules/bsddbmodule.c
@@ -51,6 +51,7 @@ PERFORMANCE OF THIS SOFTWARE.
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+/* If using Berkeley DB 2.0 or newer, change this include to <db_185.h>: */
#include <db.h>
/* Please don't include internal header files of the Berkeley db package
(it messes up the info required in the Setup file) */