diff options
| author | Joakim Verona | 2011-12-28 04:12:56 +0100 |
|---|---|---|
| committer | Joakim Verona | 2011-12-28 04:12:56 +0100 |
| commit | bb29f044aa967831cd664c54eba0de0c701436ce (patch) | |
| tree | 1398cc9780bbae0fdad071a3a3765a571c3f6d7b /lib-src/emacsclient.c | |
| parent | 3c935a7e996701244d166f684119f0ff97e25496 (diff) | |
| parent | 5e605a2e528955721fc6f2bd7b9f174c15075fb1 (diff) | |
| download | emacs-bb29f044aa967831cd664c54eba0de0c701436ce.tar.gz emacs-bb29f044aa967831cd664c54eba0de0c701436ce.zip | |
upstream i think
Diffstat (limited to 'lib-src/emacsclient.c')
| -rw-r--r-- | lib-src/emacsclient.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 56e17c100be..0ae1f0bddea 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -1635,7 +1635,11 @@ main (int argc, char **argv) | |||
| 1635 | /* Send over our environment and current directory. */ | 1635 | /* Send over our environment and current directory. */ |
| 1636 | if (!current_frame) | 1636 | if (!current_frame) |
| 1637 | { | 1637 | { |
| 1638 | #ifndef WINDOWSNT | ||
| 1639 | /* This is defined in stdlib.h on MS-Windows. It's defined in | ||
| 1640 | unistd.h on some POSIX hosts, but not all (Bug#10155). */ | ||
| 1638 | extern char **environ; | 1641 | extern char **environ; |
| 1642 | #endif | ||
| 1639 | int i; | 1643 | int i; |
| 1640 | for (i = 0; environ[i]; i++) | 1644 | for (i = 0; environ[i]; i++) |
| 1641 | { | 1645 | { |