summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/apimagic.c1
-rw-r--r--src/internal/apimagic_driver_impl.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/apimagic.c b/src/apimagic.c
index fc7e3f1..670a6cc 100644
--- a/src/apimagic.c
+++ b/src/apimagic.c
@@ -8,6 +8,7 @@
#include <unistd.h>
#include <apimagic/apimagic.h>
#include "apimagic_version.h"
+#include "apimagic_driver_impl.h"
#ifndef AMGC_DRIVER_FLAGS
#define AMGC_DRIVER_FLAGS AMGC_DRIVER_VERBOSITY_ERRORS \
diff --git a/src/internal/apimagic_driver_impl.h b/src/internal/apimagic_driver_impl.h
index 2920682..c3aa6a6 100644
--- a/src/internal/apimagic_driver_impl.h
+++ b/src/internal/apimagic_driver_impl.h
@@ -12,6 +12,7 @@
#define AMGC_TAB_WIDTH 8
#endif
+extern int apimagic_main(int, char **, char **);
extern const struct argv_option amgc_default_options[];
enum app_tags {