change the prefered order to be db.h, ndbm.h, dbm.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7793 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995 - 1999 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1995 - 2000 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -38,15 +38,15 @@
|
||||
#ifndef __XDBM_H__
|
||||
#define __XDBM_H__
|
||||
|
||||
#ifdef HAVE_NDBM_H
|
||||
#if defined(HAVE_DB_H)
|
||||
#define DB_DBM_HSEARCH 1
|
||||
#include <db.h>
|
||||
#elif defined(HAVE_NDBM_H)
|
||||
#include <ndbm.h>
|
||||
#elif defined(HAVE_DBM_H)
|
||||
#include <dbm.h>
|
||||
#elif defined(HAVE_RPCSVC_DBM_H)
|
||||
#include <rpcsvc/dbm.h>
|
||||
#elif defined(HAVE_DB_H)
|
||||
#define DB_DBM_HSEARCH 1
|
||||
#include <db.h>
|
||||
#endif
|
||||
|
||||
/* Macros to convert ndbm names to dbm names.
|
||||
|
Reference in New Issue
Block a user