weaver/node-kyoto — pull request #2 by justmoon (2011-11-04 07:32:42+00:00)
Title: Build fixes for Node.js 0.5 and 0.6

Due to two changes in Node 0.5.x node-kyoto won't build anymore. This patch fixes the two issues.

Tested with Node.js v0.5.10 and v0.4.12.

See https://github.com/joyent/node/commit/88afc406caa64628a249d726659b3b054f8dc70d#L7R332
and https://github.com/bnoordhuis/node-buffertools/issues/12
for more information on the two issues.