diff --git a/src/SURFEX/hvac_autosize.F90 b/src/SURFEX/hvac_autosize.F90
index b600627f5117f6cc0779fdaba1e1b886070e2ee5..8853dd1c5e3d413547f4cd3c8d70593e65654e0b 100644
--- a/src/SURFEX/hvac_autosize.F90
+++ b/src/SURFEX/hvac_autosize.F90
@@ -52,13 +52,13 @@ USE YOMHOOK   ,ONLY : LHOOK,   DR_HOOK
 USE PARKIND1  ,ONLY : JPRB
 !
 #ifdef AIX64 
-USE OMP_LIB
+!$ USE OMP_LIB
 #endif
 !
 IMPLICIT NONE
 !
 #ifndef AIX64
-  INCLUDE 'omp_lib.h'
+!$  INCLUDE 'omp_lib.h'
 #endif
 !
 !*    0.1    Declaration of arguments
diff --git a/src/SURFEX/modd_surfex_omp.F90 b/src/SURFEX/modd_surfex_omp.F90
index 506baa3dfb9ae7a4fffeb3066d3586ac770f6cb4..76ed2e96ae47b31afd5bd59b33e963e3cf137a63 100644
--- a/src/SURFEX/modd_surfex_omp.F90
+++ b/src/SURFEX/modd_surfex_omp.F90
@@ -36,13 +36,13 @@ USE YOMHOOK   ,ONLY : LHOOK,   DR_HOOK
 USE PARKIND1  ,ONLY : JPRB
 !
 #ifdef AIX64 
- USE OMP_LIB
+!$ USE OMP_LIB
 #endif
 !
 IMPLICIT NONE
 !
 #ifndef AIX64
-  INCLUDE 'omp_lib.h'
+!$  INCLUDE 'omp_lib.h'
 #endif
 !
 !RJ: this broke non openmp version before