openocd: include config.h in every file .c

Including config.h as first is required for every C file.
Add it to the C files that still miss it.

Change-Id: I1a210e7d3a854958a85a290b086ad8a9f5176425
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6856
Tested-by: jenkins
This commit is contained in:
Antonio Borneo 2022-02-24 11:39:15 +01:00
parent 00d4699d0b
commit 3fa695be24
6 changed files with 24 additions and 0 deletions

View File

@ -41,6 +41,10 @@
* official policies, either expressed or implied, of the Jim Tcl Project.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "jim-nvp.h"
#include <string.h>

View File

@ -7,6 +7,10 @@
* Chromium-EC RTOS Task Awareness
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <rtos/rtos.h>
#include <target/target.h>
#include <target/target_type.h>

View File

@ -15,6 +15,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdint.h>
#include <stdbool.h>
#include <string.h>

View File

@ -15,6 +15,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <helper/log.h>
#include <target/rtt.h>

View File

@ -15,6 +15,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdint.h>
#include <rtt/rtt.h>

View File

@ -15,6 +15,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stddef.h>
#include <stdint.h>
#include <helper/log.h>