+2005-10-10  Miklos Szeredi <miklos@szeredi.hu>
+
+       * fuse_common.h: use extern "C".  Thanks to Valient Gough for the
+       patch
+
 2005-10-07  Miklos Szeredi <miklos@szeredi.hu>
 
        * highlevel-lib: init() and destroy() methods didn't have an
 
 #error Please add -D_FILE_OFFSET_BITS=64 to your compile flags!
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /** Information about open files */
 struct fuse_file_info {
     /** Open flags.  Available in open() and release() */
  */
 void fuse_unmount(const char *mountpoint);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _FUSE_COMMON_H_ */