aboutsummaryrefslogtreecommitdiff
path: root/src/compat/endian.h
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-04-12 10:35:15 +0100
committerfanquake <fanquake@gmail.com>2022-04-20 13:51:33 +0100
commitc79ad935f0412bac3e19a6b925efdb390eb00bd9 (patch)
tree87414427d7dd8749f8a14fce01eb3501f0a96c54 /src/compat/endian.h
parent094d9fda5ccee7d78a2e3d8b1eec17b8b6a33466 (diff)
refactor: fix includes in src/compat
Add missing includes. Swap C headers for their C++ counterparts. Remove pointless / unmaintainable include comments. This is even more the case when we are actually using IWYU, as if anyone wants to see the comments they can just get IWYU to generate them.
Diffstat (limited to 'src/compat/endian.h')
-rw-r--r--src/compat/endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat/endian.h b/src/compat/endian.h
index c5cf7a46cc..bdd8b84c1b 100644
--- a/src/compat/endian.h
+++ b/src/compat/endian.h
@@ -11,7 +11,7 @@
#include <compat/byteswap.h>
-#include <stdint.h>
+#include <cstdint>
#if defined(HAVE_ENDIAN_H)
#include <endian.h>