autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ac-type-getgroups.patch


From: Pavel Roskin
Subject: Re: ac-type-getgroups.patch
Date: Tue, 6 Feb 2001 10:43:57 -0500 (EST)

> Index: ChangeLog
> from  Akim Demaille  <address@hidden>
>
>         * acspecific.m4 (AC_TYPE_GETGROUPS): Check for unistd.h, and
>         include it to get getgroups' prototype.

Ok.
"info libc" says that you must include unistd.h to have gid_t defined.

>  [/* Thanks to Mike Rendell for this test.  */
>  #include <sys/types.h>
> +#if HAVE_UNISTD_H
> +# include <unistd.h>
> +#endif

Maybe it's better to use AC_INCLUDES_DEFAULT here, but I don't really
care.

Regards,
Pavel Roskin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]