zeromq/libzmq — pull request #388 by minrk (2012-06-23 19:59:20+00:00)
Title: forward-declare struct iovec

avoids warnings of the form:

> warning: 'struct iovec' declared inside parameter list
> warning: its scope is only this definition or declaration, which is probably not what you want

when building downstream projects.

This would cause czmq builds to fail, since it (inappropriately?) uses `-Werror`, balking at any warning.

Being a fairly crappy C-programmer, I don't know if this is preferable to `#include `, though I understand that that is a Linux/Unix-specific header, so some Windows-handling would be necessary.