Skip to content

Commit c2964c9

Browse files
authored
Merge pull request #5182 from chu11/issue5167_config_h_tests
Add missing include of config.h
2 parents 597f9fd + f841119 commit c2964c9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+202
-22
lines changed

src/common/libeventlog/test/eventlog.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
* SPDX-License-Identifier: LGPL-3.0
99
\************************************************************/
1010

11+
#if HAVE_CONFIG_H
12+
#include "config.h"
13+
#endif
1114
#include <errno.h>
1215
#include <string.h>
1316
#include <stdarg.h>

src/common/libflux/ev_buffer_read.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
* SPDX-License-Identifier: LGPL-3.0
99
\************************************************************/
1010

11+
#if HAVE_CONFIG_H
12+
#include "config.h"
13+
#endif
1114
#include <stddef.h>
1215
#include <stdbool.h>
1316

src/common/libflux/ev_buffer_write.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
* SPDX-License-Identifier: LGPL-3.0
99
\************************************************************/
1010

11+
#if HAVE_CONFIG_H
12+
#include "config.h"
13+
#endif
1114
#include <stddef.h>
1215
#include <stdbool.h>
1316
#include <unistd.h>

src/common/libflux/ev_flux.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
* SPDX-License-Identifier: LGPL-3.0
99
\************************************************************/
1010

11+
#if HAVE_CONFIG_H
12+
#include "config.h"
13+
#endif
1114
#include <stddef.h>
1215
#include <stdbool.h>
1316

src/common/libflux/test/buffer.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
* SPDX-License-Identifier: LGPL-3.0
99
\************************************************************/
1010

11+
#if HAVE_CONFIG_H
12+
#include "config.h"
13+
#endif
1114
#include <stdio.h>
1215
#include <stdlib.h>
1316
#include <string.h>

src/common/libflux/test/msg_handler.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
* SPDX-License-Identifier: LGPL-3.0
99
\************************************************************/
1010

11+
#if HAVE_CONFIG_H
12+
#include "config.h"
13+
#endif
1114
#include <flux/core.h>
1215

1316
#include "src/common/libflux/msg_handler.h"

src/common/libflux/test/panic.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
* SPDX-License-Identifier: LGPL-3.0
99
\************************************************************/
1010

11+
#if HAVE_CONFIG_H
12+
#include "config.h"
13+
#endif
1114
#include <errno.h>
1215
#include <string.h>
1316
#include <flux/core.h>

src/common/libflux/test/plugin.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
* SPDX-License-Identifier: LGPL-3.0
99
\************************************************************/
1010

11+
#if HAVE_CONFIG_H
12+
#include "config.h"
13+
#endif
1114
#include <string.h>
1215
#include <errno.h>
1316

src/common/libflux/test/reactor.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
* SPDX-License-Identifier: LGPL-3.0
99
\************************************************************/
1010

11+
#if HAVE_CONFIG_H
12+
#include "config.h"
13+
#endif
1114
#include <errno.h>
1215
#include <sys/types.h>
1316
#include <sys/socket.h>

src/common/libflux/test/request.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
* SPDX-License-Identifier: LGPL-3.0
99
\************************************************************/
1010

11+
#if HAVE_CONFIG_H
12+
#include "config.h"
13+
#endif
1114
#include <errno.h>
1215
#include <string.h>
1316

0 commit comments

Comments
 (0)