Salome HOME
Merge from V7_2_BR 09/08/2013
[tools/medcoupling.git] / src / MEDPartitioner / MEDPARTITIONER_metis.c
index ec8cde2bc19f4a9d306950ab2d1a87ff18545a1d..ca7970150968f091d88f63ebdde1c7b6f1ec5607 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2013  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -26,8 +26,9 @@
 
 #include "MEDPARTITIONER_metis.h"
 
-#if defined(MED_ENABLE_METIS)
-  #include <metis.h>
+#if defined(MED_ENABLE_METIS) & !defined(MED_ENABLE_PARMETIS)
+  #include "defs.h"
+  #include "metis.h"
 #else
   typedef int idxtype;
 #endif