Problem reported by André Klitzing in:
http://lists.gnu.org/archive/html/bug-gnulib/2014-11/msg00013.html
* lib/unistd.in.h (environ): Do not include crt_externs.h on iOS.
+2014-11-06 Paul Eggert <eggert@cs.ucla.edu>
+
+ unistd: port to iOS
+ Problem reported by André Klitzing in:
+ http://lists.gnu.org/archive/html/bug-gnulib/2014-11/msg00013.html
+ * lib/unistd.in.h (environ): Do not include crt_externs.h on iOS.
+
2014-11-05 Paul Eggert <eggert@cs.ucla.edu>
obstack: do not reject malloc-style obstack_chunkfun, obstack_freefun
/* Set of environment variables and values. An array of strings of the form
"VARIABLE=VALUE", terminated with a NULL. */
# if defined __APPLE__ && defined __MACH__
+# include <TargetConditionals.h>
+# if !defined TARGET_OS_IPHONE && !defined TARGET_IPHONE_SIMULATOR
+# define _GL_USE_CRT_EXTERNS
+# endif
+# endif
+# ifdef _GL_USE_CRT_EXTERNS
# include <crt_externs.h>
# define environ (*_NSGetEnviron ())
# else