diff --git a/compute/zgesvd.c b/compute/zgesvd.c
index 4362bcd1870b6549518c0a9f60a8417e49dbc5d6..bfcb72de3a157c660621f37a52f89da8dba22a58 100644
--- a/compute/zgesvd.c
+++ b/compute/zgesvd.c
@@ -25,7 +25,9 @@
  **/
 #include <stdio.h>
 #include <string.h>
+#if !defined(CHAMELEON_SIMULATION)
 #include <coreblas/lapacke.h>
+#endif
 #include "control/common.h"
 
 /***************************************************************************//**
diff --git a/compute/zheevd.c b/compute/zheevd.c
index 1683086544445252128257df8750ca6710ce8f5a..f1d059fc4584370744fb60db12ecc7688758aafa 100644
--- a/compute/zheevd.c
+++ b/compute/zheevd.c
@@ -24,7 +24,9 @@
  *
  **/
 #include <string.h>
+#if !defined(CHAMELEON_SIMULATION)
 #include <coreblas/lapacke.h>
+#endif
 #include "control/common.h"
 
 /***************************************************************************//**