otp: prevent implicit function declarations if HAVE_DB_NDBM
include ndbm.h if HAVE_DB_NDBM is defined to avoid implicit function declarations.
This commit is contained in:
@@ -38,10 +38,13 @@ RCSID("$Id$");
|
||||
|
||||
#include "otp_locl.h"
|
||||
|
||||
#if !defined(HAVE_NDBM) && !defined(HAVE_DB_NDBM)
|
||||
#include "ndbm_wrap.h"
|
||||
#if defined(HAVE_DB_NDBM)
|
||||
# include <ndbm.h>
|
||||
#elif !defined(HAVE_NDBM)
|
||||
# include "ndbm_wrap.h"
|
||||
#endif
|
||||
|
||||
|
||||
#define RETRIES 5
|
||||
|
||||
void *
|
||||
|
Reference in New Issue
Block a user