This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

A patch for emulparams/elf32mcore.sh


Hi, Nick,

We should include "getopt.h". Otherwise, struct option may not be
defined.

-- 
H.J. Lu (hjl@gnu.org)
---
2000-03-02  H.J. Lu  <hjl@gnu.org>

	* emulparams/elf32mcore.sh: Include "getopt.h".

Index: emulparams/elf32mcore.sh
===================================================================
RCS file: /work/cvs/gnu/binutils/ld/emulparams/elf32mcore.sh,v
retrieving revision 1.1.1.3
diff -u -p -r1.1.1.3 elf32mcore.sh
--- emulparams/elf32mcore.sh	1999/11/04 17:50:02	1.1.1.3
+++ emulparams/elf32mcore.sh	2000/03/02 17:32:29
@@ -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},

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]