# HG changeset patch # User Bram Moolenaar # Date 1555263904 -7200 # Node ID 366978ec2c036f597d7121b2862ca8d23e8f0392 # Parent b8fb927a044c33faa24d29e563d8a6895b68efe9 patch 8.1.1174: cannot build with Ruby 1.8 commit https://github.com/vim/vim/commit/8dc4c7292364d31cfb8afa8a67984b78b657b192 Author: Bram Moolenaar Date: Sun Apr 14 19:42:13 2019 +0200 patch 8.1.1174: cannot build with Ruby 1.8 Problem: Cannot build with Ruby 1.8. (Tom G. Christensen) Solution: Include ruby/st.h. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/4257) diff --git a/src/if_ruby.c b/src/if_ruby.c --- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -118,8 +118,11 @@ #ifdef RUBY19_OR_LATER # include #endif +#ifndef RUBY19_OR_LATER +# include // for ST_STOP and ST_CONTINUE +#endif -#undef off_t /* ruby defines off_t as _int64, Mingw uses long */ +#undef off_t // ruby defines off_t as _int64, Mingw uses long #undef EXTERN #undef _ diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -772,6 +772,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1174, +/**/ 1173, /**/ 1172,