From 91f4e6c4cdb15a5b202ad43fa5a30944ee57cd2b Mon Sep 17 00:00:00 2001 From: Veronique Legrand <vlegrand@pasteur.fr> Date: Tue, 12 Apr 2022 15:22:18 +0200 Subject: [PATCH] added back include at the right place this time to fix compilation issue on OS X --- src/low_level_utils.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/low_level_utils.cpp b/src/low_level_utils.cpp index bbb5f3a..68e0e59 100644 --- a/src/low_level_utils.cpp +++ b/src/low_level_utils.cpp @@ -27,6 +27,8 @@ //#include <sys/sysctl.h> #if !defined(_SC_PHYS_PAGES) and !__APPLE__ #include <sys/sysinfo.h> +#elif __APPLE__ + #include <sys/sysctl.h> #endif #include "low_level_utils.h" -- GitLab