summaryrefslogtreecommitdiff
path: root/src/gui_photon.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-11-20 16:53:39 +0100
committerBram Moolenaar <Bram@vim.org>2012-11-20 16:53:39 +0100
commit82881498663eb692e90dcfb9da0a7f573f228e35 (patch)
treebf2ffc25d638538bd870377c87d07709c0fcae6f /src/gui_photon.c
parent0ac24e1ef4b099c95c55261bc2d227ca5707d295 (diff)
downloadvim-git-82881498663eb692e90dcfb9da0a7f573f228e35.tar.gz
updated for version 7.3.719v7.3.719
Problem: Cannot run new version of cproto, it fails on missing include files. Solution: Add lots of #ifndef PROTO
Diffstat (limited to 'src/gui_photon.c')
-rw-r--r--src/gui_photon.c7
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__)