Fix error building on Linux

This commit is contained in:
Campbell Barton
2023-03-14 16:09:08 +11:00
parent 8929ed75d4
commit 4ff3cd2476
2 changed files with 10 additions and 0 deletions

View File

@@ -8,6 +8,10 @@
#include "IMB_imbuf.h"
#ifdef __cplusplus
extern "C" {
#endif
/* -------------------------------------------------------------------- */
/** \name Generic File Type
* \{ */
@@ -269,3 +273,7 @@ struct ImBuf *imb_load_psd(const uchar *mem,
char colorspace[IM_MAX_SPACE]);
/** \} */
#ifdef __cplusplus
};
#endif

View File

@@ -2,6 +2,8 @@
#include "oiio/openimageio_support.hh"
#include "IMB_filetype.h"
#include "IMB_imbuf_types.h"
OIIO_NAMESPACE_USING