From 6d0ed4bbe2949b8c400eb904b3f627ab7410a5fa Mon Sep 17 00:00:00 2001 From: Joiey Seeley Date: Thu, 29 May 2014 16:45:42 -0500 Subject: [PATCH] Removed the conditional include from ruby_cups.h for ruby.h/st.h This will raise a warning on pre Mavericks version of Mac OSX, but will still compile successfully back to Ruby 1.8.7 on Mac OSX Lion for sure. This fixes compatibility with Mavericks. --- ext/ruby_cups.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ext/ruby_cups.h b/ext/ruby_cups.h index d038ae5..e8e9097 100755 --- a/ext/ruby_cups.h +++ b/ext/ruby_cups.h @@ -1,13 +1,8 @@ #include // st.h is needed for ST_CONTINUE constant -#ifdef __APPLE__ - #include - #include -#else - #include - #include -#endif +#include +#include #ifndef MAXOPTS #define MAXOPTS 100