aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-05-11 11:14:32 +0200
committerDavid Robillard <d@drobilla.net>2018-12-30 17:58:17 -0500
commit32c548683ed8ff8e585f069cd20ccddf54f00867 (patch)
treea78b62b9ac23e69d8380305531a1a054ab646a36 /src/reader.h
parent520f208db173a103b37dbe0d67c2e29a684edb82 (diff)
downloadserd-32c548683ed8ff8e585f069cd20ccddf54f00867.tar.gz
serd-32c548683ed8ff8e585f069cd20ccddf54f00867.tar.bz2
serd-32c548683ed8ff8e585f069cd20ccddf54f00867.zip
Clean up includes and improve source file separation
Diffstat (limited to 'src/reader.h')
-rw-r--r--src/reader.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/reader.h b/src/reader.h
index 05a5de6a..c3ea2e77 100644
--- a/src/reader.h
+++ b/src/reader.h
@@ -17,12 +17,17 @@
#ifndef SERD_READER_H
#define SERD_READER_H
-#include "serd_internal.h"
-
#include "byte_source.h"
#include "node.h"
#include "stack.h"
+#include "serd/serd.h"
+
+#include <assert.h>
+#include <stdbool.h>
+#include <stddef.h>
+#include <stdint.h>
+
#ifdef SERD_STACK_CHECK
# define SERD_STACK_ASSERT_TOP(reader, ref) \
assert(ref == reader->allocs[reader->n_allocs - 1]);