]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Prevent double-inclusion of ssh.h in case of -DNO_SECURITY.
authorSimon Tatham <anakin@pobox.com>
Wed, 23 Apr 2014 14:05:31 +0000 (14:05 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 23 Apr 2014 14:05:31 +0000 (14:05 +0000)
commit566405ae68bc3358647d47ea00c5a7891f190933
treee1796cf342463d2ab8f2b6cb5e6cf1f3028b332a
parent01d359f4f6c88e34b9600d28720dacc823fc4fee
Prevent double-inclusion of ssh.h in case of -DNO_SECURITY.

winshare.c includes ssh.h, but if you defined NO_SECURITY it then
decides to fall back to including the stub noshare.c, which includes
ssh.h again. Fix by moving a block of includes inside the ifdef.

[originally from svn r10184]
windows/winshare.c