aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/byte_sink.h1
-rw-r--r--src/serd_internal.h4
-rw-r--r--src/stack.h4
-rw-r--r--src/string_utils.h1
-rw-r--r--src/uri_utils.h4
5 files changed, 7 insertions, 7 deletions
diff --git a/src/byte_sink.h b/src/byte_sink.h
index 876add2b..c3d5045a 100644
--- a/src/byte_sink.h
+++ b/src/byte_sink.h
@@ -23,6 +23,7 @@
#include "serd/serd.h"
#include <stddef.h>
+#include <stdint.h>
#include <string.h>
typedef struct SerdByteSinkImpl {
diff --git a/src/serd_internal.h b/src/serd_internal.h
index 2090476e..95c3b121 100644
--- a/src/serd_internal.h
+++ b/src/serd_internal.h
@@ -19,11 +19,7 @@
#include "serd/serd.h"
-#include <assert.h>
-#include <errno.h>
#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#define NS_XSD "http://www.w3.org/2001/XMLSchema#"
#define NS_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
diff --git a/src/stack.h b/src/stack.h
index 9c1d075a..01f69de6 100644
--- a/src/stack.h
+++ b/src/stack.h
@@ -17,10 +17,10 @@
#ifndef SERD_STACK_H
#define SERD_STACK_H
-#include "serd_internal.h"
-
#include <assert.h>
+#include <stdbool.h>
#include <stddef.h>
+#include <stdint.h>
#include <stdlib.h>
/** An offset to start the stack at. Note 0 is reserved for NULL. */
diff --git a/src/string_utils.h b/src/string_utils.h
index b4c2702e..744ba4ca 100644
--- a/src/string_utils.h
+++ b/src/string_utils.h
@@ -19,7 +19,6 @@
#include "serd/serd.h"
-#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
diff --git a/src/uri_utils.h b/src/uri_utils.h
index 896d9d8b..7fa87463 100644
--- a/src/uri_utils.h
+++ b/src/uri_utils.h
@@ -17,8 +17,12 @@
#ifndef SERD_URI_UTILS_H
#define SERD_URI_UTILS_H
+#include "serd/serd.h"
+
#include "string_utils.h"
+#include <stdbool.h>
+#include <stdint.h>
#include <string.h>
static inline bool