diff --git a/Geo/GModelIO_MED.cpp b/Geo/GModelIO_MED.cpp
index 10f133be5576124d85fd835496a236f0de1d0594..034d5073f5cec594ef85e02dd6256fde2124bb6e 100644
--- a/Geo/GModelIO_MED.cpp
+++ b/Geo/GModelIO_MED.cpp
@@ -1,4 +1,4 @@
-// $Id: GModelIO_MED.cpp,v 1.7 2008-01-19 22:06:01 geuzaine Exp $
+// $Id: GModelIO_MED.cpp,v 1.8 2008-01-20 11:39:47 geuzaine Exp $
 //
 // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
 //
@@ -20,6 +20,7 @@
 // Please report all bugs and problems to <gmsh@geuz.org>.
 
 #include "GModel.h"
+#include "MElement.h"
 #include "MVertex.h"
 #include "MEdge.h"
 #include "Message.h"
diff --git a/contrib/Netgen/Makefile b/contrib/Netgen/Makefile
index 12bec64c347bb9d0ee535353cc9e848e6fab2349..ac54f6ac9c93c1b3fbf326df58fd22be9bb7be35 100644
--- a/contrib/Netgen/Makefile
+++ b/contrib/Netgen/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.25 2008-01-20 11:30:40 geuzaine Exp $
+# $Id: Makefile,v 1.26 2008-01-20 11:39:47 geuzaine Exp $
 #
 # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
 #
@@ -141,7 +141,7 @@ ${LIB}: ${OBJ}
         fi
 
 # don't apply ugly hack above for files in this directory
-nllib_addon${OBJEXT}:
+nglib_addon${OBJEXT}:
 	${CXX} ${CFLAGS} ${DASH}c $<
 
 clean: