      static int nextId;
 diff -Naur OpenSceneGraph-2.9.7/src/osg/GLExtensions.cpp OpenSceneGraph-2.9.7.nacl/src/osg/GLExtensions.cpp
 --- OpenSceneGraph-2.9.7/src/osg/GLExtensions.cpp	2010-02-10 05:44:59.000000000 -0700
-+++ OpenSceneGraph-2.9.7.nacl/src/osg/GLExtensions.cpp	2010-07-01 17:19:46.000000000 -0600
++++ OpenSceneGraph-2.9.7.nacl/src/osg/GLExtensions.cpp	2010-07-01 17:32:53.000000000 -0600
 @@ -27,9 +27,32 @@
  #include <set>
  

+#endif
diff -Naur OpenSceneGraph-2.9.7/src/OpenThreads/pthreads/PThreadCondition.c++ OpenSceneGraph-2.9.7.nacl/src/OpenThreads/pthreads/PThreadCondition.c++
--- OpenSceneGraph-2.9.7/src/OpenThreads/pthreads/PThreadCondition.c++	2007-09-07 09:26:18.000000000 -0600
+++ OpenSceneGraph-2.9.7.nacl/src/OpenThreads/pthreads/PThreadCondition.c++	2010-07-01 17:19:46.000000000 -0600
@@ -26,6 +26,7 @@
 #include <stdio.h>
 

+
+clean:
+	@echo Make clean
+	rm -f *.a
+	cd src/osg && $(MAKE) clean
+	cd src/osgUtil && $(MAKE) clean
+	cd src/OpenThreads && $(MAKE) clean
diff -Naur OpenSceneGraph-2.9.7/include/OpenThreads/Config OpenSceneGraph-2.9.7.nacl/include/OpenThreads/Config
--- OpenSceneGraph-2.9.7/include/OpenThreads/Config	1969-12-31 17:00:00.000000000 -0700
+++ OpenSceneGraph-2.9.7.nacl/include/OpenThreads/Config	2010-07-01 17:32:53.000000000 -0600
@@ -0,0 +1,42 @@
+/* -*-c++-*- OpenSceneGraph - Copyright (C) 2008 Robert Osfield 
+ *
