 !  *
 !  *  $RCSfile: glibc-2.1.3.patch,v $
 !  *
-!  *  $Revision: 1.3 $
-!  *
-!  *  last change: $Author: vg $ $Date: 2007-02-06 13:23:39 $
+!  *  $Revision: 1.4 $
+!  *
+!  *  last change: $Author: vg $ $Date: 2007-05-25 11:05:07 $
 !  *
 !  *  The Contents of this file are made available subject to
 !  *  the terms of GNU Lesser General Public License Version 2.1.

*** misc/glibc-2.1.3/posix/config.h	Tue Jan 30 15:33:39 2007
--- misc/build/glibc-2.1.3/posix/config.h	Tue Jan 30 15:25:00 2007
***************
*** 1 ****
! dummy

! #endif
! 
! 
*** misc/glibc-2.1.3/posix/getopt.h	Sun Aug 27 16:11:33 2000
--- misc/build/glibc-2.1.3/posix/getopt.h	Mon Apr 23 17:18:49 2007
***************
*** 137,142 ****
--- 137,155 ----
  # endif /* __GNU_LIBRARY__ */
  
  # ifndef __need_getopt
+ #  ifdef __MINGW32__
+ extern int getopt_long (int ___argc, char *const *___argv, const char *__shortopts,
+ 		        const struct option *__longopts, int *__longind);
+ extern int getopt_long_only (int ___argc, char *const *___argv,
+ 			     const char *__shortopts,
+ 		             const struct option *__longopts, int *__longind);
+ 
+ /* Internal only.  Users should not call this directly.  */
+ extern int _getopt_internal (int ___argc, char *const *___argv,
+ 			     const char *__shortopts,
+ 		             const struct option *__longopts, int *__longind,
+ 			     int __long_only);
+ #  else
  extern int getopt_long (int __argc, char *const *__argv, const char *__shortopts,
  		        const struct option *__longopts, int *__longind);
  extern int getopt_long_only (int __argc, char *const *__argv,
***************
*** 148,153 ****
--- 161,167 ----
  			     const char *__shortopts,
  		             const struct option *__longopts, int *__longind,
  			     int __long_only);
+ #  endif
  # endif
  #else /* not __STDC__ */
  extern int getopt ();
*** misc/glibc-2.1.3/posix/makefile.mk	Mon Apr 23 17:19:26 2007
--- misc/build/glibc-2.1.3/posix/makefile.mk	Mon Apr 23 17:18:49 2007
***************
*** 1 ****
! dummy
