Skip to content

Commit 7fac450

Browse files
authored
Merge pull request #7860 from dgarske/have_config
Add missing config.h on .c files
2 parents 8694314 + 08622ba commit 7fac450

19 files changed

Lines changed: 77 additions & 6 deletions

examples/async/async_client.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
/* TLS client demonstrating asynchronous cryptography features and optionally
2323
* using the crypto or PK callbacks */
2424

25+
#ifdef HAVE_CONFIG_H
26+
#include <config.h>
27+
#endif
28+
2529
/* std */
2630
#include <stdlib.h>
2731
#include <stdio.h>

examples/async/async_server.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
/* TLS server demonstrating asynchronous cryptography features and optionally
2323
* using the crypto or PK callbacks */
2424

25+
#ifdef HAVE_CONFIG_H
26+
#include <config.h>
27+
#endif
28+
2529
/* std */
2630
#include <stdlib.h>
2731
#include <stdio.h>

examples/async/async_tls.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

22+
#ifdef HAVE_CONFIG_H
23+
#include <config.h>
24+
#endif
25+
2226
#ifndef WOLFSSL_USER_SETTINGS
2327
#include <wolfssl/options.h>
2428
#endif

examples/sctp/sctp-client-dtls.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

22+
#ifdef HAVE_CONFIG_H
23+
#include <config.h>
24+
#endif
2225

2326
/* wolfssl */
2427
#ifndef WOLFSSL_USER_SETTINGS

examples/sctp/sctp-client.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

22+
#ifdef HAVE_CONFIG_H
23+
#include <config.h>
24+
#endif
25+
2226
#ifndef WOLFSSL_USER_SETTINGS
2327
#include <wolfssl/options.h>
2428
#endif

examples/sctp/sctp-server-dtls.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

22+
#ifdef HAVE_CONFIG_H
23+
#include <config.h>
24+
#endif
25+
2226
/* wolfssl */
2327
#ifndef WOLFSSL_USER_SETTINGS
2428
#include <wolfssl/options.h>

examples/sctp/sctp-server.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

22+
#ifdef HAVE_CONFIG_H
23+
#include <config.h>
24+
#endif
25+
2226
#ifndef WOLFSSL_USER_SETTINGS
2327
#include <wolfssl/options.h>
2428
#endif

mcapi/mcapi_test.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323

2424
/* Tests Microchip CRYPTO API layer */
2525

26-
26+
#ifdef HAVE_CONFIG_H
27+
#include <config.h>
28+
#endif
2729

2830
/* mc api header */
2931
#include <wolfssl/wolfcrypt/settings.h>

wolfcrypt/src/port/Renesas/renesas_common.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
2121

22+
#ifdef HAVE_CONFIG_H
23+
#include <config.h>
24+
#endif
25+
2226
#include <wolfssl/wolfcrypt/settings.h>
2327

2428
#if defined(WOLFSSL_RENESAS_FSPSM_TLS) || \

wolfcrypt/src/port/Renesas/renesas_fspsm_util.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@
1818
* along with this program; if not, write to the Free Software
1919
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
2020
*/
21-
#include <wolfssl/wolfcrypt/types.h>
2221

22+
#ifdef HAVE_CONFIG_H
23+
#include <config.h>
24+
#endif
25+
26+
#include <wolfssl/wolfcrypt/types.h>
2327

2428
#if defined(WOLFSSL_RENESAS_RSIP) || \
2529
defined(WOLFSSL_RENESAS_SCEPROTECT)

0 commit comments

Comments
 (0)