use getbuiltins() everywhere, it defaults to getbuiltidict()
diff --git a/Python/ceval.c b/Python/ceval.c
index 79874ef..2d16ef8 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -28,6 +28,7 @@
 
 #include "import.h"
 #include "sysmodule.h"
+#include "bltinmodule.h"
 #include "compile.h"
 #include "frameobject.h"
 #include "eval.h"
@@ -1691,7 +1692,7 @@
 getbuiltins()
 {
 	if (current_frame == NULL)
-		return NULL;
+		return getbuiltindict();
 	else
 		return current_frame->f_builtins;
 }