diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-04 06:55:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-02-04 06:55:41 +0000 |
commit | 8d27e64d2398f362bb000e39e83f751594d7319e (patch) | |
tree | 66c12570f8f070064fc109eb3570ca9ec5534037 /ext/sdbm | |
parent | 57e60d1f10162da0d28c48432ed21e9062f1e048 (diff) | |
download | ruby-8d27e64d2398f362bb000e39e83f751594d7319e.tar.gz |
_sdbm.c: ruby/ruby.h for PRIdPTRDIFF
* 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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/sdbm')
-rw-r--r-- | ext/sdbm/_sdbm.c | 3 |
1 files changed, 1 insertions, 2 deletions
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> |