summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/box2.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-05-13 11:04:11 +0200
committerTyge Løvset <[email protected]>2023-05-13 11:04:11 +0200
commitbe7d9913d4a284bdeb7f0431482b5731b5ef31df (patch)
tree92ab761056a60961827b0025768bad9870fbc24c /misc/examples/box2.c
parent98d131bfc1bcc8b82cb27b30ad6da176d1fed117 (diff)
downloadSTC-modified-be7d9913d4a284bdeb7f0431482b5731b5ef31df.tar.gz
STC-modified-be7d9913d4a284bdeb7f0431482b5731b5ef31df.zip
File priv/raii.h no longer included by stc/ccommon.h, instead moved to stc/algo/raii.h and included by stc/calgo.h
Diffstat (limited to 'misc/examples/box2.c')
-rw-r--r--misc/examples/box2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/examples/box2.c b/misc/examples/box2.c
index cba255d2..33212ef4 100644
--- a/misc/examples/box2.c
+++ b/misc/examples/box2.c
@@ -1,5 +1,6 @@
// example: https://doc.rust-lang.org/rust-by-example/std/box.html
#include <stdio.h>
+#include <stc/algo/raii.h>
typedef struct {
double x;