Include limits.h to fix build on OSX

This commit is contained in:
Alex Wied 2021-05-12 15:15:11 -04:00 committed by rofl0r
parent 60bf8b9e4d
commit 7168a42624
2 changed files with 1 additions and 2 deletions

View File

@ -31,8 +31,6 @@
#include "sblist.h" #include "sblist.h"
#include "hostspec.h" #include "hostspec.h"
#include <limits.h>
/* /*
* Hold the information about a particular access control. We store * Hold the information about a particular access control. We store
* whether it's an ALLOW or DENY entry, and also whether it's a string * whether it's an ALLOW or DENY entry, and also whether it's a string

View File

@ -68,6 +68,7 @@
# include <arpa/inet.h> # include <arpa/inet.h>
# include <grp.h> # include <grp.h>
# include <pwd.h> # include <pwd.h>
# include <limits.h>
/* rest - some oddball headers */ /* rest - some oddball headers */
#ifdef HAVE_VALUES_H #ifdef HAVE_VALUES_H