aboutsummaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index a3f75e4..0703912 100644
--- a/utils.h
+++ b/utils.h
@@ -10,6 +10,11 @@
#define FILE_UTILS__H
#include <stdio.h>
+#include <string.h>
+
+#ifndef streq
+#define streq(a,b) (strcmp(a,b)==0)
+#endif
#define MAX(a,b) ((a) < (b) ? (b) : (a))
#define MIN(a,b) ((a) > (b) ? (b) : (a))