diff options
author | David Robillard <d@drobilla.net> | 2019-01-09 20:30:51 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-01-10 22:09:30 +0100 |
commit | 84597399525d99fe036ea93feedb7993f326de50 (patch) | |
tree | d7744f267d06f600a539a2c92c1c4e2582a5b6ba /plugins/eg-fifths.lv2 | |
parent | 677eee0a8a1ca270860c11bc411abb48ae5e455e (diff) | |
download | lv2-84597399525d99fe036ea93feedb7993f326de50.tar.xz |
Sort includes from local to standard and fix exposed issues
This order is better because it ensures that headers can stand alone and
include everything they need. Several missing includes were exposed by this,
and are also fixed in this commit.
Diffstat (limited to 'plugins/eg-fifths.lv2')
-rw-r--r-- | plugins/eg-fifths.lv2/fifths.c | 10 | ||||
-rw-r--r-- | plugins/eg-fifths.lv2/uris.h | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/plugins/eg-fifths.lv2/fifths.c b/plugins/eg-fifths.lv2/fifths.c index 9e6df7a..0abcfbd 100644 --- a/plugins/eg-fifths.lv2/fifths.c +++ b/plugins/eg-fifths.lv2/fifths.c @@ -15,10 +15,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <stdbool.h> -#include <stdint.h> -#include <stdio.h> -#include <stdlib.h> +#include "./uris.h" #include "lv2/atom/atom.h" #include "lv2/atom/util.h" @@ -29,7 +26,10 @@ #include "lv2/midi/midi.h" #include "lv2/urid/urid.h" -#include "./uris.h" +#include <stdbool.h> +#include <stdint.h> +#include <stdio.h> +#include <stdlib.h> enum { FIFTHS_IN = 0, diff --git a/plugins/eg-fifths.lv2/uris.h b/plugins/eg-fifths.lv2/uris.h index de297dc..04b09f6 100644 --- a/plugins/eg-fifths.lv2/uris.h +++ b/plugins/eg-fifths.lv2/uris.h @@ -18,6 +18,7 @@ #ifndef FIFTHS_URIS_H #define FIFTHS_URIS_H +#include "lv2/atom/atom.h" #include "lv2/log/log.h" #include "lv2/midi/midi.h" #include "lv2/patch/patch.h" |