ext2fs.h: Add appropriate ifdef's to support C++ compilation.
+2000-05-18 Theodore Ts'o <tytso@valinux.com>
+
+ * ext2fs.h: Add appropriate ifdef's to support C++ compilation.
+
2000-04-03 Theodore Ts'o <tytso@valinux.com>
* block.c: Readibility tweak in conditionals involving
#ifndef _EXT2FS_EXT2FS_H
#define _EXT2FS_EXT2FS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Non-GNU C compilers won't necessarily understand inline
*/
#undef _INLINE_
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _EXT2FS_EXT2FS_H */