Fix gdbm for debian stable, configure problem with new howl

This commit is contained in:
Ron Pedde
2004-06-02 05:28:52 +00:00
parent d895dc8b41
commit 483d354468
5 changed files with 29 additions and 7 deletions

View File

@@ -48,6 +48,15 @@
#define STRLEN(a) (a) ? strlen((a)) + 1 : 1
#define MAYBEFREE(a) { if((a)) free((a)); };
/* For old version of gdbm */
#ifndef GDBM_SYNC
# define GDBM_SYNC 0
#endif
#ifndef GDBM_NOLOCK
# define GDBM_NOLOCK 0
#endif
/*
* Typedefs