summaryrefslogtreecommitdiff
path: root/src/dumm/irdumm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dumm/irdumm.c')
-rw-r--r--src/dumm/irdumm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dumm/irdumm.c b/src/dumm/irdumm.c
index 7543e6bd6..d30973737 100644
--- a/src/dumm/irdumm.c
+++ b/src/dumm/irdumm.c
@@ -21,6 +21,10 @@
#undef PACKAGE_URL
#include <ruby.h>
+#ifdef HAVE_RB_ERRINFO
+#define ruby_errinfo rb_errinfo()
+#endif
+
/**
* main routine, parses args and reads from console
*/