summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAlex Wied <centromere@users.noreply.github.com>2021-05-12 15:15:11 -0400
committerrofl0r <rofl0r@users.noreply.github.com>2021-05-13 01:15:13 +0100
commit7168a42624fb9ce3305c9e666e44cc8a533af5f6 (patch)
tree3e07f7f7ab180b186159304f60d016fd16072944
parent60bf8b9e4d73648673a9218ece645b28eac377dc (diff)
Include limits.h to fix build on OSX
-rw-r--r--src/acl.c2
-rw-r--r--src/common.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/acl.c b/src/acl.c
index 63a3d34..2d141ba 100644
--- a/src/acl.c
+++ b/src/acl.c
@@ -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