Solaris needs <limits.h> for NGROUPS_MAX. Don't bother making this

conditional as it's a standard header.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@267 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2003-07-14 15:31:38 +00:00
parent bb8d609e45
commit 5985e60d5a
2 changed files with 4 additions and 2 deletions

View File

@ -31,12 +31,13 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $P4: //depot/projects/openpam/lib/openpam_borrow_cred.c#9 $
* $P4: //depot/projects/openpam/lib/openpam_borrow_cred.c#10 $
*/
#include <sys/param.h>
#include <grp.h>
#include <limits.h>
#include <pwd.h>
#include <stdlib.h>
#include <unistd.h>

View File

@ -31,12 +31,13 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $P4: //depot/projects/openpam/lib/openpam_restore_cred.c#8 $
* $P4: //depot/projects/openpam/lib/openpam_restore_cred.c#9 $
*/
#include <sys/param.h>
#include <grp.h>
#include <limits.h>
#include <pwd.h>
#include <stdlib.h>
#include <unistd.h>