aboutsummaryrefslogtreecommitdiff
path: root/gencode.c
diff options
context:
space:
mode:
Diffstat (limited to 'gencode.c')
-rw-r--r--gencode.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gencode.c b/gencode.c
index 299d1c63..07259a70 100644
--- a/gencode.c
+++ b/gencode.c
@@ -77,6 +77,7 @@
#include "pcap/sll.h"
#include "pcap/ipnet.h"
#include "arcnet.h"
+#include "diag-control.h"
#include "grammar.h"
#include "scanner.h"
@@ -476,10 +477,7 @@ bpf_error(compiler_state_t *cstate, const char *fmt, ...)
longjmp(cstate->top_ctx, 1);
/*NOTREACHED*/
#ifdef _AIX
- /*
- * Same GCC workaround as in tcpdump.
- */
- while (1);
+ PCAP_UNREACHABLE
#endif /* _AIX */
}