mirror of https://github.com/GNOME/gimp.git
plug-ins: include libgimp/gimp.h and gimpui.h in openexr-wrapper.cc
The file does not need the includes, but including libgimp from a C++ file makes sure the build fails if something forbidden gets added to any public libgimp header, such as a struct member named "private".
This commit is contained in:
parent
2ebf0ee32b
commit
a4773a5599
|
@ -1,5 +1,13 @@
|
|||
#include "config.h"
|
||||
|
||||
/* These libgimp includes are not needed here at all, but this is a
|
||||
* convenient place to make sure the public libgimp headers are
|
||||
* C++-clean. The C++ compiler will choke on stuff like naming
|
||||
* a struct member or parameter "private".
|
||||
*/
|
||||
#include "libgimp/gimp.h"
|
||||
#include "libgimp/gimpui.h"
|
||||
|
||||
#include "openexr-wrapper.h"
|
||||
|
||||
#include <ImfInputFile.h>
|
||||
|
|
Loading…
Reference in New Issue