docs/Writerside/topics/streams.h.md

changeset 1696
976e629ce990
parent 1694
a2757c6427cc
--- a/docs/Writerside/topics/streams.h.md	Wed Dec 31 16:05:38 2025 +0100
+++ b/docs/Writerside/topics/streams.h.md	Wed Dec 31 16:18:48 2025 +0100
@@ -56,6 +56,12 @@
 
 The following example shows how to read the contents of a file into a buffer:
 ```c
+#include <cx/buffer.h>
+#include <cx/utils.h>
+#include <stdio.h>
+
+// ...
+
 FILE *inputfile = fopen(infilename, "r");
 if (inputfile) {
     CxBuffer fbuf;

mercurial