docs/Writerside/topics/collection.h.md

changeset 1215
790ff923f375
parent 1171
155bc3b0dcb3
--- a/docs/Writerside/topics/collection.h.md	Sun Feb 16 12:17:18 2025 +0100
+++ b/docs/Writerside/topics/collection.h.md	Sun Feb 16 12:40:51 2025 +0100
@@ -7,6 +7,8 @@
 This macro will embed a structure in your collection that can be accessed with the member name `collection`.
 
 ```c
+#include <cx/collection.h>
+
 struct my_fancy_collection_s {
     CX_COLLECTION_BASE; // adds a member named 'collection'
     struct my_collection_data_s *data;

mercurial