From 6d8f508fe9bed97a12d8f2a8dd01a413d7a60560 Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Mon, 26 Nov 2001 03:04:46 +0000 Subject: Relevant BUGIDs: 485454 Purpose of commit: revive feature Commit summary: --------------- malloc et al. debugging was not supported by the new autoconf setup, this commit rectifies that. It also adds a couple of header file inclusions that seem to be needed with recent glibc headers. --- _pam_aconf.h.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to '_pam_aconf.h.in') diff --git a/_pam_aconf.h.in b/_pam_aconf.h.in index 1b2cea75..0569554d 100644 --- a/_pam_aconf.h.in +++ b/_pam_aconf.h.in @@ -83,4 +83,17 @@ defined, we get it from unistd.h */ #undef HAVE_SYS_FSUID_H +/* track all memory allocations and liberations */ +#undef MEMORY_DEBUG +#ifdef MEMORY_DEBUG +/* + * this is basically a hack - we need to include a semiarbitrary + * number of headers to ensure that we don't get silly prototype/macro + * confusion. + */ +# include +# include +# include +#endif /* MEMORY_DEBUG */ + #endif /* PAM_ACONF_H */ -- cgit v1.2.3