summaryrefslogtreecommitdiffstats
path: root/ld/emulparams/elf32mcore.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emulparams/elf32mcore.sh')
-rw-r--r--ld/emulparams/elf32mcore.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/emulparams/elf32mcore.sh b/ld/emulparams/elf32mcore.sh
index 7769e1232a..b1f7b8c0f9 100644
--- a/ld/emulparams/elf32mcore.sh
+++ b/ld/emulparams/elf32mcore.sh
@@ -37,6 +37,8 @@ PARSE_AND_LIST_ARGS='
#define OPTION_BASE_FILE 300
+#include "getopt.h"
+
static struct option longopts[] =
{
{"base-file", required_argument, NULL, OPTION_BASE_FILE},
OpenPOWER on IntegriCloud