aboutsummaryrefslogtreecommitdiff
path: root/gencode.c
diff options
context:
space:
mode:
Diffstat (limited to 'gencode.c')
-rw-r--r--gencode.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gencode.c b/gencode.c
index efdcb987..299d1c63 100644
--- a/gencode.c
+++ b/gencode.c
@@ -475,6 +475,12 @@ bpf_error(compiler_state_t *cstate, const char *fmt, ...)
va_end(ap);
longjmp(cstate->top_ctx, 1);
/*NOTREACHED*/
+#ifdef _AIX
+ /*
+ * Same GCC workaround as in tcpdump.
+ */
+ while (1);
+#endif /* _AIX */
}
static int init_linktype(compiler_state_t *, pcap_t *);