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"
|
#include "otp_locl.h"
|
||||||
|
|
||||||
#if !defined(HAVE_NDBM) && !defined(HAVE_DB_NDBM)
|
#if defined(HAVE_DB_NDBM)
|
||||||
#include "ndbm_wrap.h"
|
# include <ndbm.h>
|
||||||
|
#elif !defined(HAVE_NDBM)
|
||||||
|
# include "ndbm_wrap.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define RETRIES 5
|
#define RETRIES 5
|
||||||
|
|
||||||
void *
|
void *
|
||||||
|
Reference in New Issue
Block a user