From: Eli Zaretskii Date: Fri, 15 Aug 2014 14:04:27 +0000 (+0300) Subject: Avoid compiler warnings about incomplete parameter types. X-Git-Tag: gdb-7.8.1-release~94 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aefbd3385e2b712762c3f372f5307341989f83ec;p=thirdparty%2Fbinutils-gdb.git Avoid compiler warnings about incomplete parameter types. gdb/ChangeLog: * dcache.h: Include target.h, to avoid compile time warnings. (cherry picked from commit cb039ba4535a3e9ba59517dc973c842c513b4f05) --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 39349ba0317..bf9edbb551a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-08-15 Eli Zaretskii + + * dcache.h: Include target.h, to avoid compile time warnings. + 2014-08-15 Joel Brobecker * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct diff --git a/gdb/dcache.h b/gdb/dcache.h index 020abd6bb4d..75c2b3ec3f2 100644 --- a/gdb/dcache.h +++ b/gdb/dcache.h @@ -21,6 +21,8 @@ #ifndef DCACHE_H #define DCACHE_H +#include "target.h" /* for enum target_xfer_status */ + typedef struct dcache_struct DCACHE; /* Invalidate DCACHE. */