|
From: openocd-gerrit <ope...@us...> - 2024-10-05 15:52:53
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Main OpenOCD repository".
The branch, master has been updated
via 73390332d203f02aa5b9798a7550191d55650d97 (commit)
from 116e9553d12193faa08e668b3d9504ef995bd21f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 73390332d203f02aa5b9798a7550191d55650d97
Author: Antonio Borneo <bor...@gm...>
Date: Fri Sep 27 22:36:52 2024 +0200
openocd: fix build with jimtcl 0.83
In jimtcl 0.82, the include file jim.h included in turn stdio.h
This made redundant to include the former in openocd source files.
Since jimtcl 0.83, jim.h drops the include of stdio.h, causing
openocd build to fail.
Include stdio.h in the files that need it.
Change-Id: Ic81c9b273d7520f4d2d8c32bc3e0a6bcfffb67ed
Signed-off-by: Antonio Borneo <bor...@gm...>
Reviewed-on: https://review.openocd.org/c/openocd/+/8512
Reviewed-by: Jonathan McDowell <noo...@ea...>
Tested-by: jenkins
diff --git a/src/helper/configuration.h b/src/helper/configuration.h
index 295ea591d..d646670eb 100644
--- a/src/helper/configuration.h
+++ b/src/helper/configuration.h
@@ -11,6 +11,7 @@
#ifndef OPENOCD_HELPER_CONFIGURATION_H
#define OPENOCD_HELPER_CONFIGURATION_H
+#include <stdio.h>
#include <helper/command.h>
int parse_cmdline_args(struct command_context *cmd_ctx,
diff --git a/src/helper/jim-nvp.c b/src/helper/jim-nvp.c
index e1ab64ae5..cdd4d3429 100644
--- a/src/helper/jim-nvp.c
+++ b/src/helper/jim-nvp.c
@@ -21,6 +21,7 @@
#endif
#include "jim-nvp.h"
+#include <stdio.h>
#include <string.h>
int jim_get_nvp(Jim_Interp *interp,
-----------------------------------------------------------------------
Summary of changes:
src/helper/configuration.h | 1 +
src/helper/jim-nvp.c | 1 +
2 files changed, 2 insertions(+)
hooks/post-receive
--
Main OpenOCD repository
|