diff --git a/src/StepFile/recfile.pc b/src/StepFile/recfile.pc index d0a32042aa..d3f4795d95 100644 --- a/src/StepFile/recfile.pc +++ b/src/StepFile/recfile.pc @@ -16,7 +16,7 @@ #include "stdio.h" #include "string.h" #include "stdlib.h" -#if !defined(_WIN32) +#if (!defined(_WIN32) && !defined(__APPLE__)) #include "malloc.h" #endif #include "recfile.ph"