X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f49300284e2c91095ae3ebe62cb3a6d424eac21..d9ff0f91fbddae88286567cab74dcfb59c91fc0f:/src/common/imagpnm.cpp diff --git a/src/common/imagpnm.cpp b/src/common/imagpnm.cpp index 3646d49e82..d5ca1fae4d 100644 --- a/src/common/imagpnm.cpp +++ b/src/common/imagpnm.cpp @@ -22,7 +22,7 @@ # include "wx/setup.h" #endif -#if wxUSE_PNM +#if wxUSE_IMAGE && wxUSE_PNM #include "wx/imagpnm.h" #include "wx/log.h"