summaryrefslogtreecommitdiffstats
path: root/Modules/sgimodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/sgimodule.c')
-rw-r--r--Modules/sgimodule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/sgimodule.c b/Modules/sgimodule.c
index fca4806..1951ad8 100644
--- a/Modules/sgimodule.c
+++ b/Modules/sgimodule.c
@@ -26,6 +26,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "allobjects.h"
#include "modsupport.h"
+#include "ceval.h"
extern int sginap(long);
@@ -37,7 +38,9 @@ sgi_nap(self, args)
long ticks;
if (!getargs(args, "l", &ticks))
return NULL;
+ BGN_SAVE
sginap(ticks);
+ END_SAVE
INCREF(None);
return None;
}