summaryrefslogtreecommitdiffstats
path: root/src/core/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/exec.c')
-rw-r--r--src/core/exec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/exec.c b/src/core/exec.c
index 73f111eed..3340d18a6 100644
--- a/src/core/exec.c
+++ b/src/core/exec.c
@@ -36,6 +36,10 @@
static struct command commands[0] __table_start ( commands );
static struct command commands_end[0] __table_end ( commands );
+/* Avoid dragging in getopt.o unless a command really uses it */
+int optind;
+int nextchar;
+
/**
* Execute command
*