]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix duplicate definition of typedef 'bufchain'.
authorSimon Tatham <anakin@pobox.com>
Wed, 6 Apr 2016 08:06:19 +0000 (09:06 +0100)
committerSimon Tatham <anakin@pobox.com>
Wed, 6 Apr 2016 09:08:52 +0000 (10:08 +0100)
commit0ac3526b3e97ec71e7ed9bd89d42b688646a0220
tree901615e612d5e454eaa0cbafb10b1252874641c6
parent2c37bfca42ec6da329df952dd365d99ca004bcab
Fix duplicate definition of typedef 'bufchain'.

This was defined in misc.h, and also in network.h (because one
function prototype needed to refer to it in the latter), leading to a
build failure if any source file inconveniently included both those
headers.

Fixed by guarding each copy of the typedef with a #ifdef.
misc.h
network.h