Skip to content

Commit 2653262

Browse files
committed
WIP
1 parent be00b4a commit 2653262

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/toplevel.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include <stdlib.h>
22
#include <stdio.h>
3+
#include <errno.h>
34
#include <signal.h>
45

56
#include "history.h"
@@ -34,6 +35,7 @@ static void show_goals(query *q, int num)
3435

3536
int check_interrupt(query *q)
3637
{
38+
#ifndef __wasi__
3739
#ifndef _WIN32
3840
if (g_tpl_interrupt == SIGALRM) {
3941
g_tpl_interrupt = 0;
@@ -50,6 +52,7 @@ int check_interrupt(query *q)
5052

5153
return 0;
5254
}
55+
#endif
5356
#endif
5457

5558
if (!q || !q->top || !q->top->interactive) {

0 commit comments

Comments
 (0)