aboutsummaryrefslogtreecommitdiff
path: root/include/hashed_db.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hashed_db.h')
-rw-r--r--include/hashed_db.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/hashed_db.h b/include/hashed_db.h
index 4dd3933111a8..396a7cd86a1d 100644
--- a/include/hashed_db.h
+++ b/include/hashed_db.h
@@ -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 *
@@ -31,19 +31,23 @@
****************************************************************************/
/*
- * $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