summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
new file mode 100644
index 0000000..974e03f
--- /dev/null
+++ b/src/common.h
@@ -0,0 +1,19 @@
+#ifndef COMMON_H
+#define COMMON_H
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#include <stdbool.h>
+#include <stdlib.h>
+
+#ifdef DEBUG
+# include <assert.h>
+#else
+# define assert(x) /* x */
+#endif
+
+#define API
+
+#endif /* COMMON_H */