From 7db8cf29e95bd68cc879adf2696a312b230d72ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Thu, 19 Dec 2013 15:11:39 +0100 Subject: [PATCH] tools: Define getopt in make_xftmpl.c. --- tools/make_xftmpl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/make_xftmpl.c b/tools/make_xftmpl.c index 1d83498ae17..75b47cc1f6f 100644 --- a/tools/make_xftmpl.c +++ b/tools/make_xftmpl.c @@ -99,6 +99,8 @@ static const struct keyword reserved_words[] = { {"WORD", TOKEN_WORD} }; +extern int getopt(int argc, char *const *argv, const char *optstring); + static BOOL option_header; static char *option_inc_var_name = NULL; static char *option_inc_size_name = NULL;