Skip to content

Commit de4b1e0

Browse files
committed
add redundant? includes
1 parent 9fdb3f7 commit de4b1e0

File tree

8 files changed

+19
-3
lines changed

8 files changed

+19
-3
lines changed

src/ggs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@
1616
#include "ui.h"
1717

1818
#include <assert.h>
19+
#include <inttypes.h>
1920
#include <ctype.h>
2021
#include <errno.h>
2122
#include <stdarg.h>
2223
#include <stdio.h>
2324
#include <stdlib.h>
25+
#include <stdint.h>
2426
#include <string.h>
2527

2628
#include <sys/types.h>

src/obftest.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
#include "const.h"
2525
#include "settings.h"
2626

27+
#include <inttypes.h>
28+
#include <stdint.h>
2729
#include <stdlib.h>
2830

2931
/** OBF structure: Othello Board File */

src/perft.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@
1818
#include "util.h"
1919
#include "perft.h"
2020

21-
#include <stdlib.h>
21+
#include <inttypes.h>
2222
#include <math.h>
23+
#include <stdint.h>
24+
#include <stdlib.h>
2325

2426
/**
2527
* Gathered statistiscs

src/play.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#include "settings.h"
2020

2121
#include <assert.h>
22+
#include <inttypes.h>
23+
#include <stdint.h>
2224

2325
/**
2426
* @brief Initialization.

src/root.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@
1313

1414
#include "bit.h"
1515
#include "options.h"
16+
#include "settings.h"
1617
#include "stats.h"
1718
#include "util.h"
1819
#include "ybwc.h"
19-
#include "settings.h"
2020

21-
#include <stdlib.h>
2221
#include <assert.h>
22+
#include <inttypes.h>
23+
#include <stdint.h>
24+
#include <stdlib.h>
2325

2426
extern Log search_log;
2527
extern Log engine_log;

src/search.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@
6868
#include "settings.h"
6969

7070
#include <assert.h>
71+
#include <inttypes.h>
7172
#include <limits.h>
73+
#include <stdint.h>
7274
#include <stdlib.h>
7375
#include <string.h>
7476
#include <math.h>

src/stats.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
#include "ybwc.h"
1919

2020
#include <stdio.h>
21+
#include <stdint.h>
22+
#include <inttypes.h>
2123

2224
Statistics statistics;
2325

src/stats.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
#include <stdatomic.h>
1818
#include <stdio.h>
19+
#include <stdint.h>
20+
#include <inttypes.h>
1921

2022
/* To turn on a statistics, add an x to the end of the line starting with #define .*/
2123

0 commit comments

Comments
 (0)