require 'brewkit' class Logrotate #include #include +#include #include #include #include diff --git a/logrotate.c b/logrotate.c index 6427465..f0614a8 100644 --- a/logrotate.c +++ b/logrotate.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include diff --git a/Makefile b/Makefile index f110ab5..8e17dea 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,14 @@ ifeq ($(OS_NAME),SunOS) endif endif +# Darwin +ifeq ($(OS_NAME),Darwin) + INSTALL = install + ifeq ($(BASEDIR),) + BASEDIR = /usr/local + endif +endif + # Red Hat Linux ifeq ($(OS_NAME),Linux) INSTALL = install