From mboxrd@z Thu Jan 1 00:00:00 1970 From: Milan Zamazal To: nobody@sourceware.cygnus.com Cc: gnats-prs@sourceware.cygnus.com Subject: Re: gnats/200: gnatsd.h includes for crypt(3) rather than Date: Sun, 10 Jun 2001 10:34:00 -0000 Message-id: <20010610173400.8877.qmail@sourceware.cygnus.com> X-SW-Source: 2001-q2/msg00157.html List-Id: The following reply was made to PR gnats/200; it has been noted by GNATS. From: Milan Zamazal To: soren@wheel.dk Cc: gnats-gnats@sourceware.cygnus.com Subject: Re: gnats/200: gnatsd.h includes for crypt(3) rather than Date: 10 Jun 2001 17:25:41 +0200 >>>>> "s" == soren writes: s> is a little outdated, and modern systems specify s> for crypt(3). E.g. *BSD don't have . [...] >> Fix: s> Index: gnatsd.c s> =================================================================== s> RCS file: /cvs/gnats/gnats/gnats/gnatsd.c,v s> retrieving revision 1.40 s> diff -u -w -r1.40 gnatsd.c s> --- gnatsd.c 2001/04/15 18:11:51 1.40 s> +++ gnatsd.c 2001/05/31 15:26:03 s> @@ -24,9 +24,7 @@ s> #include "gnatsd.h" s> #include "query.h" s> -#ifdef HAVE_LIBCRYPT s> -#include s> -#endif s> +#include s> #if defined (__svr4__) && defined (__sun__) s> #undef SIG_IGN Well, GNATS should run on less modern systems too, so I now include crypt.h only if available. That should fix the build problems on systems having crypt in unistd.h. Thanks for the report. Regards, Milan Zamazal -- http://www.zamazal.org