[PATCH] <sys/un.h> uses strlen from <string.h>

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Mon Mar 23 03:38:00 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

The SUN_LEN macro in <sys/un.h> calls strlen but doesn't #include
<string.h> for its prototype.  Patch attached.

2009-03-22  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>

    * include/sys/un.h: #include <string.h> for strlen.


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAknHBDgACgkQpiWmPGlmQSNnXwCg40eYsxbTT5v7O0FbZdt/fQfR
rHgAoINxorPjYZGHzJ0oeXuAyixpaqeO
=dZwV
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygwin-sys_un.h-strlen.patch
Type: text/x-patch
Size: 585 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20090323/739d974d/attachment.bin>


More information about the Cygwin-patches mailing list