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:
Michael Natterer 2014-04-27 14:30:00 +02:00
parent 2ebf0ee32b
commit a4773a5599
1 changed files with 8 additions and 0 deletions

View File

@ -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>