diff options
Diffstat (limited to 'src/sord_internal.h')
-rw-r--r-- | src/sord_internal.h | 9 |
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 */ |