diff --git a/src/App/DocumentPyImp.cpp b/src/App/DocumentPyImp.cpp
index fe8a33368..8167c5493 100644
--- a/src/App/DocumentPyImp.cpp
+++ b/src/App/DocumentPyImp.cpp
@@ -29,7 +29,6 @@
#include "Document.h"
#include
-#include
#include "DocumentObject.h"
#include "DocumentObjectPy.h"
diff --git a/src/Base/Interpreter.cpp b/src/Base/Interpreter.cpp
index b5f4f0f27..9ee45b8f6 100644
--- a/src/Base/Interpreter.cpp
+++ b/src/Base/Interpreter.cpp
@@ -26,7 +26,6 @@
#include "PreCompiled.h"
#ifndef _PreComp_
-# include
# include
# include
#endif
diff --git a/src/Base/Interpreter.h b/src/Base/Interpreter.h
index fb61ccb73..a5b6ac9e9 100644
--- a/src/Base/Interpreter.h
+++ b/src/Base/Interpreter.h
@@ -35,6 +35,16 @@
#include
+#ifdef FC_OS_MACOSX
+#undef toupper
+#undef tolower
+#undef isupper
+#undef islower
+#undef isspace
+#undef isalpha
+#undef isalnum
+#endif
+
// Std. configurations
#include
#include