summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-09-27 16:48:14 +0200
committerDavid Robillard <d@drobilla.net>2020-09-27 16:56:02 +0200
commitf139a0ac62915b22e8c7403c766689fc40975a69 (patch)
tree8cda29ebb8d4591a7da6f665c4bc82ff9908cabf
parenta1ede5f96d733faed6ab1ae77b31688a5a5b5e40 (diff)
downloadsratom-f139a0ac62915b22e8c7403c766689fc40975a69.tar.gz
sratom-f139a0ac62915b22e8c7403c766689fc40975a69.tar.bz2
sratom-f139a0ac62915b22e8c7403c766689fc40975a69.zip
Clean up includes
-rw-r--r--src/sratom.c14
-rw-r--r--tests/sratom_test.c15
2 files changed, 18 insertions, 11 deletions
diff --git a/src/sratom.c b/src/sratom.c
index 0e61517..222d12c 100644
--- a/src/sratom.c
+++ b/src/sratom.c
@@ -14,17 +14,19 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <assert.h>
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
+#include "sratom/sratom.h"
+#include "lv2/atom/atom.h"
#include "lv2/atom/forge.h"
#include "lv2/atom/util.h"
#include "lv2/midi/midi.h"
+#include "lv2/urid/urid.h"
-#include "sratom/sratom.h"
+#include <assert.h>
+#include <ctype.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#define NS_RDF (const uint8_t*)"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
#define NS_XSD (const uint8_t*)"http://www.w3.org/2001/XMLSchema#"
diff --git a/tests/sratom_test.c b/tests/sratom_test.c
index 4af757d..1738e3d 100644
--- a/tests/sratom_test.c
+++ b/tests/sratom_test.c
@@ -14,16 +14,21 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <ctype.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
-
+#include "lv2/atom/atom.h"
#include "lv2/atom/forge.h"
#include "lv2/atom/util.h"
#include "lv2/midi/midi.h"
+#include "lv2/urid/urid.h"
+#include "serd/serd.h"
#include "sratom/sratom.h"
+#include <stdarg.h>
+#include <stdbool.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
#define NS_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
#define USTR(s) ((const uint8_t*)(s))