aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-amp.lv2
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-amp.lv2
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-amp.lv2')
-rw-r--r--plugins/eg-amp.lv2/amp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/eg-amp.lv2/amp.c b/plugins/eg-amp.lv2/amp.c
index 2c65cc4..c3ba279 100644
--- a/plugins/eg-amp.lv2/amp.c
+++ b/plugins/eg-amp.lv2/amp.c
@@ -15,11 +15,6 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/** Include standard C headers */
-#include <math.h>
-#include <stdint.h>
-#include <stdlib.h>
-
/**
LV2 headers are based on the URI of the specification they come from, so a
consistent convention can be used even for unofficial extensions. The URI
@@ -29,6 +24,11 @@
*/
#include "lv2/core/lv2.h"
+/** Include standard C headers */
+#include <math.h>
+#include <stdint.h>
+#include <stdlib.h>
+
/**
The URI is the identifier for a plugin, and how the host associates this
implementation in code with its description in data. In this plugin it is