Skip to content

Commit 0993175

Browse files
Update common.h
1 parent 174a3b3 commit 0993175

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

code/logic/fossil/pizza/common.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@
2525
#endif
2626

2727
#ifdef __cplusplus
28-
// C++ headers
28+
// C++17 headers
29+
#include <cstddef>
30+
#include <cstdint>
31+
#include <cstdlib>
32+
#include <cstdarg>
2933
#include <cstring>
30-
#include <unistd.h> // POSIX, same in C and C++
34+
#include <unistd.h> // POSIX
3135
#include <cfloat>
3236
#include <cstdio>
3337
#include <cctype>
@@ -37,9 +41,9 @@
3741
// C headers
3842
#include <inttypes.h>
3943
#include <stdbool.h>
40-
#include <stdlib.h>
4144
#include <stddef.h>
4245
#include <stdint.h>
46+
#include <stdlib.h>
4347
#include <stdarg.h>
4448
#include <string.h>
4549
#include <unistd.h> // POSIX

0 commit comments

Comments
 (0)