summaryrefslogtreecommitdiffstats
path: root/sord
diff options
context:
space:
mode:
Diffstat (limited to 'sord')
-rw-r--r--sord/sord.h5
-rw-r--r--sord/sordmm.hpp18
2 files changed, 12 insertions, 11 deletions
diff --git a/sord/sord.h b/sord/sord.h
index 62bf782..4665b50 100644
--- a/sord/sord.h
+++ b/sord/sord.h
@@ -21,12 +21,11 @@
#ifndef SORD_SORD_H
#define SORD_SORD_H
+#include "serd/serd.h"
+
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
-#include <stdio.h>
-
-#include "serd/serd.h"
#ifdef SORD_SHARED
# ifdef _WIN32
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp
index c4236d5..c6bea7b 100644
--- a/sord/sordmm.hpp
+++ b/sord/sordmm.hpp
@@ -22,14 +22,6 @@
#ifndef SORD_SORDMM_HPP
#define SORD_SORDMM_HPP
-#include <cassert>
-#include <cstring>
-#include <cstdlib>
-#include <iostream>
-#include <set>
-#include <string>
-#include <sstream>
-
#if defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wzero-as-null-pointer-constant"
@@ -42,6 +34,16 @@
# pragma clang diagnostic pop
#endif
+#include <cassert>
+#include <cstdint>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
+#include <iostream>
+#include <set>
+#include <sstream>
+#include <string>
+
#define SORD_NS_XSD "http://www.w3.org/2001/XMLSchema#"
namespace Sord {