ndbm.h and FAQ

Pablo Saratxaga (srtxg@linux.chanae.stben.be)
Sun, 2 Mar 1997 21:01:58 +0100 (MET)


A little to add to the ifmail FAQ:

Q: On my Linux XXX compilation fails due to "already defined" macros,
ndbm.h being included more than one time.
A: It is a problem of Debian distribution of ndbm, the ndbm.h isn't
protected against more than one inclusion. To solve it edit the
/usr/include/ndbm.h file and add, at the very top of the file, these
two lines:
#ifndef _NDBM_H_
#define _NDBM_H_
and at the very end of the file this single one:
#endif /* _NDBM_H_ */
then all programs including ndbm.h should compile fine.


A bientôt, Pablo Saratxaga

~ ~ :wq ;-) PGP Key available, key ID: 0x8F0E4975