-// 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
#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