aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-midigate.lv2/midigate.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-01-09 20:30:51 +0100
committerDavid Robillard <d@drobilla.net>2019-01-10 22:09:30 +0100
commit84597399525d99fe036ea93feedb7993f326de50 (patch)
treed7744f267d06f600a539a2c92c1c4e2582a5b6ba /plugins/eg-midigate.lv2/midigate.c
parent677eee0a8a1ca270860c11bc411abb48ae5e455e (diff)
downloadlv2-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-midigate.lv2/midigate.c')
-rw-r--r--plugins/eg-midigate.lv2/midigate.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/eg-midigate.lv2/midigate.c b/plugins/eg-midigate.lv2/midigate.c
index 8ec5721..70901f6 100644
--- a/plugins/eg-midigate.lv2/midigate.c
+++ b/plugins/eg-midigate.lv2/midigate.c
@@ -14,12 +14,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <stdbool.h>
-#include <stdint.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
#include "lv2/atom/atom.h"
#include "lv2/atom/util.h"
#include "lv2/core/lv2.h"
@@ -29,6 +23,12 @@
#include "lv2/midi/midi.h"
#include "lv2/urid/urid.h"
+#include <stdbool.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
#define MIDIGATE_URI "http://lv2plug.in/plugins/eg-midigate"
typedef enum {