From: Eli Zaretskii Date: Fri, 15 Aug 2014 14:04:27 +0000 (+0300) Subject: Avoid compiler warnings about incomplete parameter types. X-Git-Tag: hjl/linux/release/2.24.51.0.4~1^2~6^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb039ba4535a3e9ba59517dc973c842c513b4f05;p=thirdparty%2Fbinutils-gdb.git Avoid compiler warnings about incomplete parameter types. gdb/ChangeLog: * dcache.h: Include target.h, to avoid compile time warnings. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6aa6592c933..78d16355f5d 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. */