summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/driver/amgc_driver_ctx.c2
-rw-r--r--src/internal/apimagic_driver_impl.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/driver/amgc_driver_ctx.c b/src/driver/amgc_driver_ctx.c
index fe39dcc..4489109 100644
--- a/src/driver/amgc_driver_ctx.c
+++ b/src/driver/amgc_driver_ctx.c
@@ -25,8 +25,6 @@
#include "apimagic_driver_impl.h"
#include "argv/argv.h"
-extern const struct argv_option amgc_default_options[];
-
struct amgc_driver_ctx_alloc {
struct argv_meta * meta;
struct amgc_action * actions;
diff --git a/src/internal/apimagic_driver_impl.h b/src/internal/apimagic_driver_impl.h
index b5d4ae4..2920682 100644
--- a/src/internal/apimagic_driver_impl.h
+++ b/src/internal/apimagic_driver_impl.h
@@ -6,11 +6,14 @@
#include <sys/types.h>
#include <apimagic/apimagic.h>
+#include "argv/argv.h"
#ifndef AMGC_TAB_WIDTH
#define AMGC_TAB_WIDTH 8
#endif
+extern const struct argv_option amgc_default_options[];
+
enum app_tags {
TAG_HELP,
TAG_VERSION,