From 051d2ddae5a2289d1f253b563e57a8e8496a06bb Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Fri, 6 Jan 2017 14:26:45 +0000 Subject: Include target.h in inf-loop.h $ make check-headers CHECK_HEADERS="target.h inf-loop.h" ... ../../binutils-gdb/gdb/inf-loop.h:23:42: error: use of enum 'inferior_event_type' without previous declaration extern void inferior_event_handler (enum inferior_event_type event_type, ^ gdb: 2017-01-06 Yao Qi * inf-loop.c: Don't include "target.h". * inf-loop.h: Include it here. --- gdb/inf-loop.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gdb/inf-loop.c') diff --git a/gdb/inf-loop.c b/gdb/inf-loop.c index 679149e..bb9fa01 100644 --- a/gdb/inf-loop.c +++ b/gdb/inf-loop.c @@ -20,7 +20,6 @@ #include "defs.h" #include "inferior.h" #include "infrun.h" -#include "target.h" /* For enum inferior_event_type. */ #include "event-loop.h" #include "event-top.h" #include "inf-loop.h" -- cgit v1.1