summaryrefslogtreecommitdiffstats
path: root/src/sord_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-16 11:02:14 +0100
committerDavid Robillard <d@drobilla.net>2020-12-16 11:02:14 +0100
commit86da10ac94f64d16ad145200664fc8532fd90783 (patch)
treefd1d165360f7a5d8af71ba104cc88c84132a7eab /src/sord_internal.h
parent115978bcfcc05cda48b39c19010839d5a179984c (diff)
downloadsord-86da10ac94f64d16ad145200664fc8532fd90783.tar.gz
sord-86da10ac94f64d16ad145200664fc8532fd90783.tar.bz2
sord-86da10ac94f64d16ad145200664fc8532fd90783.zip
Clean up includes
Diffstat (limited to 'src/sord_internal.h')
-rw-r--r--src/sord_internal.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/sord_internal.h b/src/sord_internal.h
index ddfe9c6..872b1c1 100644
--- a/src/sord_internal.h
+++ b/src/sord_internal.h
@@ -17,15 +17,16 @@
#ifndef SORD_SORD_INTERNAL_H
#define SORD_SORD_INTERNAL_H
-#include <stddef.h>
-#include <stdint.h>
-
+#include "serd/serd.h"
#include "sord/sord.h"
+#include <stddef.h>
+
#if defined(__GNUC__) && __GNUC__ > 4
# define SORD_UNREACHABLE() __builtin_unreachable()
#else
-# define SORD_UNREACHABLE() assert(false)
+# include <assert.h>
+# define SORD_UNREACHABLE() assert(0)
#endif
/** Resource node metadata */