[Ecls-list] Patch for missing #includes

Jerry James loganjerry at gmail.com
Mon Feb 6 17:59:10 UTC 2012

GCC complains about some functions with no prototypes.  The attached
patch fixes the problem.

cdata.d calls memcmp() and memcpy(), so needs <string.h>.

main.d calls memcpy(), so needs <string.h>.

num_rand.d calls read() and close() if !defined(ECL_MS_WINDOWS_HOST),
so needs <unistd.h>.

Jerry James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecl-headers.patch
Type: text/x-patch
Size: 931 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20120206/a8f8cab9/attachment.bin>

More information about the ecl-devel mailing list