patch-src_bdb_h 485 B

12345678910111213141516171819202122232425
  1. $OpenBSD: patch-src_bdb_h,v 1.1 2012/10/12 14:12:28 jeremy Exp $
  2. Backport ruby 1.9 support from GitHub commit
  3. 6dcb0fb6e872798a7b36125dda294ddaebd96185.
  4. --- src/bdb.h.orig Thu Jun 26 14:16:36 2008
  5. +++ src/bdb.h Mon Oct 8 17:44:02 2012
  6. @@ -1,9 +1,13 @@
  7. +#include <db.h>
  8. +#include <errno.h>
  9. +
  10. #include <ruby.h>
  11. +#ifdef HAVE_RUBY_IO_H
  12. +#include <ruby/io.h>
  13. +#else
  14. #include <rubysig.h>
  15. #include <rubyio.h>
  16. -
  17. -#include <db.h>
  18. -#include <errno.h>
  19. +#endif
  20. #include "bdb_features.h"