From 1e1bbe45bf2d62d11ec769f15d0ae9df35c631b6 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 1 Jun 1999 12:42:45 +0000 Subject: [PATCH] glibc 2.1 compatibility --- lib/avon/createDB.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/avon/createDB.h b/lib/avon/createDB.h index 431e4fbe..987941c2 100644 --- a/lib/avon/createDB.h +++ b/lib/avon/createDB.h @@ -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. * @@ -19,6 +19,9 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * $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 * - bugfix: it is possible to install isdnlog now * - improved performance for read files for vbox files and mgetty files. @@ -34,7 +37,11 @@ #define _CREATEDB_H_ #ifdef linux +# if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) +# include +# else # include +# endif #else # include "/usr/ucbinclude/ndbm.h" /*# include */