summary refs log tree commit diff stats
path: root/tests/c/temit.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/c/temit.nim')
-rw-r--r--tests/c/temit.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/c/temit.nim b/tests/c/temit.nim
index ee7455d4c..1943c94ea 100644
--- a/tests/c/temit.nim
+++ b/tests/c/temit.nim
@@ -4,6 +4,7 @@ discard """
 # Test the new ``emit`` pragma:
 
 {.emit: """
+#include <stdio.h>
 static int cvariable = 420;
 
 """.}