diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/sdbm/_sdbm.c | 3 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,9 @@ +Wed Feb 4 15:55:38 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * ext/sdbm/_sdbm.c: include ruby/ruby.h for PRIdPTRDIFF when a + macro `DEBUG` is defined. based on the patch by Owen Rodley in + [ruby-core:67987]. [Bug #10825] + Wed Feb 4 11:12:43 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> * Makefile.in (probes.stamp): rebuild dtrace dependent objects diff --git a/ext/sdbm/_sdbm.c b/ext/sdbm/_sdbm.c index 3c9cb31395..a1705613a9 100644 --- a/ext/sdbm/_sdbm.c +++ b/ext/sdbm/_sdbm.c @@ -7,8 +7,7 @@ * core routines */ -#include "ruby/config.h" -#include "ruby/defines.h" +#include "ruby/ruby.h" #ifdef HAVE_UNISTD_H #include <unistd.h> |