Skip to content

Commit 6531d90

Browse files
committed
Add missing include of config.h
Problem: A number of C files did not include config.h. Globally add it when it is missing and the file is not a vendored file.
1 parent 744de99 commit 6531d90

File tree

9 files changed

+27
-1
lines changed

9 files changed

+27
-1
lines changed

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/libterminus/terminus.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
* in pty.c.
4646
*/
4747

48+
#if HAVE_CONFIG_H
49+
#include "config.h"
50+
#endif
4851
#include <sys/types.h>
4952
#include <sys/wait.h>
5053
#include <unistd.h>

src/modules/cron/types.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 "entry.h"
1316
#include "ccan/str/str.h"

src/modules/job-exec/rset.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 "rset.h"
1316

src/modules/job-manager/plugins/alloc-bypass.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
* owner use only)
1414
*/
1515

16-
16+
#if HAVE_CONFIG_H
17+
#include "config.h"
18+
#endif
1719
#include <unistd.h>
1820
#include <sys/types.h>
1921

src/modules/job-manager/plugins/begin-time.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010

1111
/* begin-time: Builtin job-manager begin-time dependency plugin */
1212

13+
#if HAVE_CONFIG_H
14+
#include "config.h"
15+
#endif
1316
#include <time.h>
1417
#include <math.h>
1518
#include <jansson.h>

src/modules/job-manager/plugins/perilog.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
* event in the job's eventlog.
3939
*/
4040

41+
#if HAVE_CONFIG_H
42+
#include "config.h"
43+
#endif
4144
#include <limits.h>
4245
#include <unistd.h>
4346
#include <sys/types.h>

0 commit comments

Comments
 (0)