diff options
Diffstat (limited to 'source/blender/blenlib/BLI_fileops_types.h')
-rw-r--r-- | source/blender/blenlib/BLI_fileops_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_fileops_types.h b/source/blender/blenlib/BLI_fileops_types.h index 6456b457cfb..41f916ed0ca 100644 --- a/source/blender/blenlib/BLI_fileops_types.h +++ b/source/blender/blenlib/BLI_fileops_types.h @@ -27,6 +27,10 @@ #include <sys/stat.h> +#ifdef __cplusplus +extern "C" { +#endif + #if defined(WIN32) typedef unsigned int mode_t; #endif @@ -57,4 +61,8 @@ struct dirlink { char *name; }; +#ifdef __cplusplus +} +#endif + #endif /* __BLI_FILEOPS_TYPES_H__ */ |