components/getopt/patches/getopt.c.patch
changeset 1211 72f88619e71d
equal deleted inserted replaced
1210:abc0c01af810 1211:72f88619e71d
       
     1 Need to #include <locale.h> 
       
     2 as LC_ALL wasn't being found otherwise.
       
     3 
       
     4 --- getopt-1.1.5/getopt.c.orig	2012-11-14 07:57:53.606143868 -0800
       
     5 +++ getopt-1.1.5/getopt.c	2012-11-14 08:03:26.644112033 -0800
       
     6 @@ -58,6 +58,7 @@
       
     7  #include <string.h>
       
     8  #include <unistd.h>
       
     9  #include <ctype.h>
       
    10 +#include <locale.h>
       
    11  
       
    12  #if LIBCGETOPT
       
    13  #include <getopt.h>