summaryrefslogtreecommitdiffstats
path: root/src/sord_validate.c
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_validate.c
parent115978bcfcc05cda48b39c19010839d5a179984c (diff)
downloadsord-86da10ac94f64d16ad145200664fc8532fd90783.tar.gz
sord-86da10ac94f64d16ad145200664fc8532fd90783.tar.bz2
sord-86da10ac94f64d16ad145200664fc8532fd90783.zip
Clean up includes
Diffstat (limited to 'src/sord_validate.c')
-rw-r--r--src/sord_validate.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/sord_validate.c b/src/sord_validate.c
index 3defdec..193dc06 100644
--- a/src/sord_validate.c
+++ b/src/sord_validate.c
@@ -17,14 +17,6 @@
#define _BSD_SOURCE 1 // for realpath
#define _DEFAULT_SOURCE 1 // for realpath
-#include <assert.h>
-#include <stdlib.h>
-#include <string.h>
-
-#ifdef _WIN32
-# include <windows.h>
-#endif
-
#include "serd/serd.h"
#include "sord/sord.h"
#include "sord_config.h"
@@ -32,6 +24,16 @@
#ifdef HAVE_PCRE
# include <pcre.h>
#endif
+#ifdef _WIN32
+# include <windows.h>
+#endif
+
+#include <stdarg.h>
+#include <stdbool.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#ifdef __GNUC__
# define SORD_LOG_FUNC(fmt, arg1) __attribute__((format(printf, fmt, arg1)))