diff options
Diffstat (limited to 'src/gui_photon.c')
-rw-r--r-- | src/gui_photon.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui_photon.c b/src/gui_photon.c index 06c8a6baa..5db0484c9 100644 --- a/src/gui_photon.c +++ b/src/gui_photon.c @@ -13,8 +13,11 @@ #include "vim.h" -#ifdef FEAT_TOOLBAR -# include <photon/PxImage.h> +/* cproto fails on missing include files */ +#ifndef PROTO +# ifdef FEAT_TOOLBAR +# include <photon/PxImage.h> +# endif #endif #if !defined(__QNX__) |