diff options
author | Alex Wied <centromere@users.noreply.github.com> | 2021-05-12 15:15:11 -0400 |
---|---|---|
committer | rofl0r <rofl0r@users.noreply.github.com> | 2021-05-13 01:15:13 +0100 |
commit | 7168a42624fb9ce3305c9e666e44cc8a533af5f6 (patch) | |
tree | 3e07f7f7ab180b186159304f60d016fd16072944 | |
parent | 60bf8b9e4d73648673a9218ece645b28eac377dc (diff) |
Include limits.h to fix build on OSX
-rw-r--r-- | src/acl.c | 2 | ||||
-rw-r--r-- | src/common.h | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -31,8 +31,6 @@ #include "sblist.h" #include "hostspec.h" -#include <limits.h> - /* * 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 diff --git a/src/common.h b/src/common.h index 563ee6f..a492582 100644 --- a/src/common.h +++ b/src/common.h @@ -68,6 +68,7 @@ # include <arpa/inet.h> # include <grp.h> # include <pwd.h> +# include <limits.h> /* rest - some oddball headers */ #ifdef HAVE_VALUES_H |