From 6878bca55babad5ec957ec1e21f1b9c5e0722391 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 29 Aug 2009 15:35:10 +0000 Subject: [PATCH] for gcc44 --- Geo/CellComplex.h | 7 ++++--- Geo/ChainComplex.h | 9 +++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Geo/CellComplex.h b/Geo/CellComplex.h index 3f6bdd0983..9507d9ce3b 100644 --- a/Geo/CellComplex.h +++ b/Geo/CellComplex.h @@ -8,12 +8,15 @@ #ifndef _CELLCOMPLEX_H_ #define _CELLCOMPLEX_H_ +#include "GmshConfig.h" + +#if defined(HAVE_KBIPACK) + #include <stdio.h> #include <string> #include <algorithm> #include <set> #include <queue> -#include "GmshConfig.h" #include "MElement.h" #include "MPoint.h" #include "MLine.h" @@ -29,8 +32,6 @@ #include "GFace.h" #include "GVertex.h" -#if defined(HAVE_KBIPACK) - // Abstract class representing an elemtary cell of a cell complex. class Cell { diff --git a/Geo/ChainComplex.h b/Geo/ChainComplex.h index 9eaf86976a..c54ed874db 100644 --- a/Geo/ChainComplex.h +++ b/Geo/ChainComplex.h @@ -8,12 +8,15 @@ #ifndef _CHAINCOMPLEX_H_ #define _CHAINCOMPLEX_H_ -#include <stdio.h> +#include "GmshConfig.h" + +#if defined(HAVE_KBIPACK) + +#include <cstdio> #include <string> #include <algorithm> #include <set> #include <queue> -#include "GmshConfig.h" #include "MElement.h" #include "GModel.h" #include "GEntity.h" @@ -22,8 +25,6 @@ #include "GVertex.h" #include "CellComplex.h" -#if defined(HAVE_KBIPACK) - #include "gmp.h" extern "C" { #include "gmp_normal_form.h" // perhaps make c++ headers instead? -- GitLab