+2011-11-30 Chong Yidong <cyd@gnu.org>
+
+ * emacsclient.c (main): Condition last change on WINDOWSNT
+ (Bug#10155).
+
2011-11-27 Eli Zaretskii <eliz@gnu.org>
* makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
/* Send over our environment and current directory. */
if (!current_frame)
{
+#ifndef WINDOWSNT
+ /* This is defined in stdlib.h on MS-Windows. It's defined in
+ unisted.h on some POSIX hosts, but not all (Bug#10155). */
+ extern char **environ;
+#endif
int i;
for (i = 0; environ[i]; i++)
{