aboutsummaryrefslogtreecommitdiff
path: root/src/runscript.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runscript.c')
-rw-r--r--src/runscript.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runscript.c b/src/runscript.c
index 876cddc7..ae7bbe7a 100644
--- a/src/runscript.c
+++ b/src/runscript.c
@@ -24,6 +24,7 @@
#include <string.h>
#include <unistd.h>
+#include "builtins.h"
#include "einfo.h"
#include "rc.h"
#include "rc-misc.h"
@@ -977,7 +978,7 @@ static struct option longopts[] = {
};
// #include "_usage.c"
-int main (int argc, char **argv)
+int runscript (int argc, char **argv)
{
int i;
bool deps = true;