--- src/libdnf/hy-iutil.cpp 2020-12-02 07:53:42.000000000 -0800 +++ src/libdnf/hy-iutil.cpp 2020-12-21 14:24:14.000000000 -0800 @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include #include #include --- src/libdnf/hy-util.cpp 2020-12-02 07:53:42.000000000 -0800 +++ src/libdnf/hy-util.cpp 2020-12-21 14:23:21.000000000 -0800 @@ -24,7 +24,20 @@ #include #include #include -#include + +// Darwin compatibility hacks +typedef int auxv_t; +#ifndef AT_HWCAP2 +#define AT_HWCAP2 26 +#endif +#ifndef AT_HWCAP +#define AT_HWCAP 16 +#endif +static unsigned long getauxval(unsigned long type) +{ + unsigned long ret = 0; + return ret; +} // hawkey #include "dnf-types.h"