diff --git a/code/nel/src/3d/driver/opengl/mac/cocoa_application_delegate.mm b/code/nel/src/3d/driver/opengl/mac/cocoa_application_delegate.mm
index 2a667d13b..95d6879db 100644
--- a/code/nel/src/3d/driver/opengl/mac/cocoa_application_delegate.mm
+++ b/code/nel/src/3d/driver/opengl/mac/cocoa_application_delegate.mm
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
+#include "../stdopengl.h"
#include "../driver_opengl.h"
#include "cocoa_application_delegate.h"
diff --git a/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.m b/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.m
index 8ad1f91d4..763b16aef 100644
--- a/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.m
+++ b/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.m
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
+#include "../stdopengl.h"
#include "../driver_opengl.h"
#import "cocoa_opengl_view.h"
diff --git a/code/nel/src/3d/driver/opengl/mac/cocoa_window_delegate.mm b/code/nel/src/3d/driver/opengl/mac/cocoa_window_delegate.mm
index c90c4f25d..c11fb55d0 100644
--- a/code/nel/src/3d/driver/opengl/mac/cocoa_window_delegate.mm
+++ b/code/nel/src/3d/driver/opengl/mac/cocoa_window_delegate.mm
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
+#include "../stdopengl.h"
#include "../driver_opengl.h"
#import "cocoa_window_delegate.h"