changeset 31847 | 39d36c2db68e |
parent 31796 | e0dc40530c5a |
child 37495 | b1fb341d8a61 |
--- a/contrib/python-zstandard/zstd.c Wed Mar 08 09:03:42 2017 -0500 +++ b/contrib/python-zstandard/zstd.c Sat Apr 08 14:33:20 2017 -0700 @@ -11,6 +11,9 @@ #if defined(_WIN32) #define WIN32_LEAN_AND_MEAN #include <Windows.h> +#elif defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) +#include <sys/types.h> +#include <sys/sysctl.h> #endif #include "python-zstandard.h"