Re: ifmail bug?!

Roland Rosenfeld (MSK)
14 Jan 1997 19:06:03 +0100

Marco Gaiarin <> wrote:

> The problem was that in some source the ndbm.h was included 2 times,
> one directly in .c, and one other in a .h included in .c. I think that
> simply the newer gcc has became more strict... ;)))

This is a bug of you ndbm.h. Don't ask me who introduced this buggy
file (mine is correct), but there seem to be some distributions with a
wrong ndbm.h.

Try to add

#ifndef _NDBM_H /* allow multiple inclusions */
#define _NDBM_H

at the beginning of your ndbm.h and

#endif /* _NDBM_H */

at the end and everything will work correct.

If you know where your ndbm.h comes from, please inform the
maintainer, because this is a bug. BTW: my ndbm.h tells me in the

| This file is part of GDBM, the GNU data base manager, by Philip A. Nelson.
| Copyright (C) 1990, 1991 Free Software Foundation, Inc.



  * Internet: * Fido: 2:2450/42 *