summaryrefslogtreecommitdiff
path: root/kernel/lib/sv.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-12-14 15:33:06 +0100
committerAnton Kling <anton@kling.gg>2024-12-14 15:33:06 +0100
commit0495bfb0d64bb2b318b629fd1c821dc8e2c8647d (patch)
tree960e72aadc18f3ec0899dd69781c9ba55b5ef944 /kernel/lib/sv.h
parent6179308e3f6e4c64013e5db5da9b30a22abca704 (diff)
sb/printf: Add ksbprintf
Easier to add formatted strings to the string builder without using intermediate buffers.
Diffstat (limited to 'kernel/lib/sv.h')
-rw-r--r--kernel/lib/sv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/lib/sv.h b/kernel/lib/sv.h
index 40f33ca..9a70fb3 100644
--- a/kernel/lib/sv.h
+++ b/kernel/lib/sv.h
@@ -2,6 +2,7 @@
#define SV_H
#include "sb.h"
#include <stddef.h>
+#include <stdint.h>
#define SB_TO_SV(_sb) \
(struct sv) { \