summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2014-01-22 12:22:26 +0000
committerPedro Alves <palves@redhat.com>2014-01-22 12:22:55 +0000
commiteabefd817b5d3793e9969e2afdeead1b900d8b05 (patch)
treef7e63d40b537619ba59cdee1af07a8d696c87199
parentce1f8608d5debf47bf2312b937abdaab5e4dcc4e (diff)
downloadbinutils-gdb-eabefd817b5d3793e9969e2afdeead1b900d8b05.tar.gz
xtensa-config.c: missing defs.h include.
All .c files must start by including defs.h. 2014-01-22 Pedro Alves <palves@redhat.com> * xtensa-config.c: Include defs.h.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/xtensa-config.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c29fa6fd8a4..456c6d3d4aa 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-01-22 Pedro Alves <palves@redhat.com>
+
+ * xtensa-config.c: Include defs.h.
+
2014-01-22 Baruch Siach <baruch@tkos.co.il>
* xtensa-linux-nat.c: Include asm/ptrace.h.
diff --git a/gdb/xtensa-config.c b/gdb/xtensa-config.c
index 3b248f4f0c0..5ba7590019d 100644
--- a/gdb/xtensa-config.c
+++ b/gdb/xtensa-config.c
@@ -17,6 +17,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "defs.h"
+
#define XTENSA_CONFIG_VERSION 0x60
#include "xtensa-config.h"