summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-23 16:35:59 -0500
committerDavid Robillard <d@drobilla.net>2024-11-23 16:35:59 -0500
commit33d343f25ff41cab66cc679757d94f9af9b3e766 (patch)
tree641edf5a14358b3bf3fe9093b596c11760b99cb0
parent9b589c246c368a9da6bbeab3e693767ffe19e04e (diff)
downloadsratom-33d343f25ff41cab66cc679757d94f9af9b3e766.tar.gz
sratom-33d343f25ff41cab66cc679757d94f9af9b3e766.tar.bz2
sratom-33d343f25ff41cab66cc679757d94f9af9b3e766.zip
Use angle brackets for library includes and clean up include pathsHEADmain
-rw-r--r--include/sratom/sratom.h10
-rw-r--r--src/sratom.c18
-rw-r--r--test/headers/test_headers.c2
-rw-r--r--test/meson.build1
-rw-r--r--test/test_sratom.c14
5 files changed, 22 insertions, 23 deletions
diff --git a/include/sratom/sratom.h b/include/sratom/sratom.h
index 643e8b8..9790030 100644
--- a/include/sratom/sratom.h
+++ b/include/sratom/sratom.h
@@ -6,11 +6,11 @@
#ifndef SRATOM_SRATOM_H
#define SRATOM_SRATOM_H
-#include "lv2/atom/atom.h"
-#include "lv2/atom/forge.h"
-#include "lv2/urid/urid.h"
-#include "serd/serd.h"
-#include "sord/sord.h"
+#include <lv2/atom/atom.h>
+#include <lv2/atom/forge.h>
+#include <lv2/urid/urid.h>
+#include <serd/serd.h>
+#include <sord/sord.h>
#include <stdbool.h>
#include <stdint.h>
diff --git a/src/sratom.c b/src/sratom.c
index 0c27b88..579f42f 100644
--- a/src/sratom.c
+++ b/src/sratom.c
@@ -1,15 +1,15 @@
// Copyright 2012-2024 David Robillard <d@drobilla.net>
// SPDX-License-Identifier: ISC
-#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 "serd/serd.h"
-#include "sord/sord.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 <serd/serd.h>
+#include <sord/sord.h>
#include <assert.h>
#include <ctype.h>
diff --git a/test/headers/test_headers.c b/test/headers/test_headers.c
index f6b110f..c0cee5c 100644
--- a/test/headers/test_headers.c
+++ b/test/headers/test_headers.c
@@ -1,7 +1,7 @@
// Copyright 2022 David Robillard <d@drobilla.net>
// SPDX-License-Identifier: ISC
-#include "sratom/sratom.h" // IWYU pragma: keep
+#include <sratom/sratom.h> // IWYU pragma: keep
#ifdef __GNUC__
__attribute__((const))
diff --git a/test/meson.build b/test/meson.build
index 1e8b08f..1033d2f 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -20,7 +20,6 @@ test(
test_sratom_source,
c_args: c_suppressions,
dependencies: [sratom_dep, serd_dep, sord_dep],
- include_directories: include_directories('../src'),
),
suite: 'unit',
)
diff --git a/test/test_sratom.c b/test/test_sratom.c
index 7e46ae5..336d50f 100644
--- a/test/test_sratom.c
+++ b/test/test_sratom.c
@@ -1,13 +1,13 @@
// Copyright 2012-2016 David Robillard <d@drobilla.net>
// SPDX-License-Identifier: ISC
-#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 <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>