glibc 2.1 compatibility

This commit is contained in:
paul 1999-06-01 12:42:45 +00:00
parent 5ee9c94a98
commit 1e1bbe45bf
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $Id: createDB.h,v 1.3 1997/05/19 22:58:36 luethje Exp $ /* $Id: createDB.h,v 1.4 1999/06/01 12:42:45 paul Exp $
* *
* ISDN accounting for isdn4linux. * ISDN accounting for isdn4linux.
* *
@ -19,6 +19,9 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* $Log: createDB.h,v $ * $Log: createDB.h,v $
* Revision 1.4 1999/06/01 12:42:45 paul
* glibc 2.1 compatibility
*
* Revision 1.3 1997/05/19 22:58:36 luethje * Revision 1.3 1997/05/19 22:58:36 luethje
* - bugfix: it is possible to install isdnlog now * - bugfix: it is possible to install isdnlog now
* - improved performance for read files for vbox files and mgetty files. * - improved performance for read files for vbox files and mgetty files.
@ -34,7 +37,11 @@
#define _CREATEDB_H_ #define _CREATEDB_H_
#ifdef linux #ifdef linux
# if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1)
# include <db1/ndbm.h>
# else
# include <ndbm.h> # include <ndbm.h>
# endif
#else #else
# include "/usr/ucbinclude/ndbm.h" # include "/usr/ucbinclude/ndbm.h"
/*# include <libgen.h>*/ /*# include <libgen.h>*/