      if (prot_tag) return_value(retval);
      if (state) JUMP_TAG(state);
      return result;
-@@ -6797,7 +6790,7 @@
+@@ -6797,7 +6792,7 @@
      ruby_errinfo = Qnil;	/* ensure */
      PUSH_VARS();
      PUSH_CLASS(ruby_wrapper);

     if (!wrap) {
 	rb_secure(4);		/* should alter global state */
 	ruby_class = rb_cObject;
@@ -9757,13 +9750,6 @@
 
 extern VALUE rb_last_status;
 

 #  if !defined(setjmp) && defined(HAVE__SETJMP)
 #    define ruby_setjmp(env) _setjmp(env)
 #    define ruby_longjmp(env,val) _longjmp(env,val)
@@ -250,6 +240,8 @@
 #define SCOPE_SET(f)  (scope_vmode=(f))
 #define SCOPE_TEST(f) (scope_vmode&(f))
 
+VALUE (*ruby_sandbox_save)(struct thread *) = NULL; 
+VALUE (*ruby_sandbox_restore)(struct thread *) = NULL; 
 NODE* ruby_current_node;
 int ruby_safe_level = 0;
 /* safe-level:
@@ -1061,8 +1053,8 @@
 #define POP_CLASS() ruby_class = _class; \
 } while (0)
 
