summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-08-04 13:05:47 +0100
committerubq323 <ubq323@ubq323.website>2024-08-04 13:05:47 +0100
commit000e8ca43f4968412ed5c8fc514bb6caa3e5c450 (patch)
treee82eddb3cb54f75f8468e9a80a17e8b14857aa45 /util.h
parent1f257ac91ef3813c563203eacb5320b210fc1aa7 (diff)
new reader
Diffstat (limited to 'util.h')
-rw-r--r--util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.h b/util.h
index 076393e..6b61b56 100644
--- a/util.h
+++ b/util.h
@@ -2,6 +2,7 @@
#define _util_h
#include <stdio.h>
+#include <stdlib.h>
#define CHECK(cond, ...) do { if (!(cond)) { fprintf(stderr, __VA_ARGS__); putchar('\n'); exit(1); } } while(0)
#define ERROR(...) CHECK(false, __VA_ARGS__)