]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - include/hashed_db.h
ncurses 6.0 - patch 20180121
[ncurses.git] / include / hashed_db.h
index 4dd3933111a88fa45126727876c898c007fc7da1..396a7cd86a1d7f987f9a4b5ef08ba27a4f671d27 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 2006 Free Software Foundation, Inc.                        *
+ * Copyright (c) 2006-2014,2017 Free Software Foundation, Inc.              *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
  ****************************************************************************/
 
 /*
- * $Id: hashed_db.h,v 1.5 2006/08/19 15:58:34 tom Exp $
+ * $Id: hashed_db.h,v 1.8 2017/07/22 16:22:49 tom Exp $
  */
 
 #ifndef HASHED_DB_H
 #define HASHED_DB_H 1
 
+#include <ncurses_cfg.h>
+
 #include <curses.h>
 
 #if USE_HASHED_DB
 
+#define DB_DBM_HSEARCH 0       /* quiet gcc -Wundef with db6 */
+
 #include <db.h>
 
-#ifndef DBN_SUFFIX
+#ifndef DBM_SUFFIX
 #define DBM_SUFFIX ".db"
 #endif