summaryrefslogtreecommitdiffstats
path: root/src/zix
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-01-13 13:59:29 +0100
committerDavid Robillard <d@drobilla.net>2019-01-13 13:59:29 +0100
commit162d540a7a78bcd75aea002b4afa101133315e8b (patch)
treef59f5adbc21f4156a1a8b4e33abe9124a6f526cb /src/zix
parent4b4c1797d93e6efb93b12df21c1cd9f04341b61e (diff)
downloadlilv-162d540a7a78bcd75aea002b4afa101133315e8b.tar.gz
lilv-162d540a7a78bcd75aea002b4afa101133315e8b.tar.bz2
lilv-162d540a7a78bcd75aea002b4afa101133315e8b.zip
Clean up includes
Sorts includes from local to global (which catches errors) and fixes missing includes found by the resulting breakage and include-what-you-use.
Diffstat (limited to 'src/zix')
-rw-r--r--src/zix/tree.c7
-rw-r--r--src/zix/tree.h5
2 files changed, 6 insertions, 6 deletions
diff --git a/src/zix/tree.c b/src/zix/tree.c
index 1646709..b6fdd2a 100644
--- a/src/zix/tree.c
+++ b/src/zix/tree.c
@@ -14,15 +14,14 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "zix/common.h"
+#include "zix/tree.h"
+
#include <assert.h>
#include <stdint.h>
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "zix/common.h"
-#include "zix/tree.h"
-
typedef struct ZixTreeNodeImpl ZixTreeNode;
struct ZixTreeImpl {
diff --git a/src/zix/tree.h b/src/zix/tree.h
index e531a9b..79177d0 100644
--- a/src/zix/tree.h
+++ b/src/zix/tree.h
@@ -17,10 +17,11 @@
#ifndef ZIX_TREE_H
#define ZIX_TREE_H
-#include <stddef.h>
-
#include "zix/common.h"
+#include <stdbool.h>
+#include <stddef.h>
+
#ifdef __cplusplus
extern "C" {
#endif