diff --git a/src/flb_utils.c b/src/flb_utils.c index 7c287de05e4..37e89d28a4f 100644 --- a/src/flb_utils.c +++ b/src/flb_utils.c @@ -49,6 +49,10 @@ extern struct flb_aws_error_reporter *error_reporter; #ifdef FLB_SYSTEM_MACOS #include #include +#include +#if MAC_OS_X_VERSION_MIN_REQUIRED < 120000 +#define kIOMainPortDefault kIOMasterPortDefault +#endif #endif /*