+2010-01-07 John W. Eaton <jwe@octave.org> (tiny change)
+
+ glob: Fix C++ compilation.
+ * lib/glob.in.h [__cplusplus]: Define __BEGIN_DECLS and __END_DECLS for
+ C++.
+
2010-01-07 Bruno Haible <bruno@clisp.org>
Fix indentation of wctype.in.h, broken since 2007-01-06.
#include <sys/stat.h>
#ifndef __BEGIN_DECLS
-# define __BEGIN_DECLS
-# define __END_DECLS
+# ifdef __cplusplus
+# define __BEGIN_DECLS extern "C" {
+# define __END_DECLS }
+# else
+# define __BEGIN_DECLS
+# define __END_DECLS
+# endif
#endif
#ifndef __THROW
# define __THROW