aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/base64.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-16 10:55:54 +0800
committerGitHub <noreply@github.com>2023-11-16 10:55:54 +0800
commitbb4b4576e384c71890b4df4fa4f1ae76fad3a59d (patch)
treecfbee648282a9113496aec14eb7ce144eb791445 /src/nvim/base64.c
parent326d46f690b383846f136f2a25523cffe2882f27 (diff)
downloadrneovim-bb4b4576e384c71890b4df4fa4f1ae76fad3a59d.tar.gz
rneovim-bb4b4576e384c71890b4df4fa4f1ae76fad3a59d.tar.bz2
rneovim-bb4b4576e384c71890b4df4fa4f1ae76fad3a59d.zip
refactor: iwyu (#26062)
Diffstat (limited to 'src/nvim/base64.c')
-rw-r--r--src/nvim/base64.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/base64.c b/src/nvim/base64.c
index c647019fb1..8d0c1c4bf1 100644
--- a/src/nvim/base64.c
+++ b/src/nvim/base64.c
@@ -1,7 +1,9 @@
#include <assert.h>
#include <stddef.h>
+#include <stdint.h>
#include <string.h>
+#include "auto/config.h"
#include "nvim/base64.h"
#include "nvim/memory.h"
@@ -9,6 +11,10 @@
# include ENDIAN_INCLUDE_FILE
#endif
+#ifdef INCLUDE_GENERATED_DECLARATIONS
+# include "base64.c.generated.h" // IWYU prgama: export
+#endif
+
static const char alphabet[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
// Indices are 1-based because we use 0 to indicate a letter that is not part of the alphabet