[cs631apue] NetBSD #include <bsd/stdlib.h>

Shenghan Gao sgao9 at stevens.edu
Wed Dec 2 17:13:07 EST 2015


Try <stdlib.h> directly. This should work on both AWS and Linux lab.

-Shenghan

On Wed, Dec 2, 2015 at 5:08 PM, Patrick Murray <pmurray1 at stevens.edu> wrote:

> When testing on the linux lab, BSD's standard library is included using
> <bsd/stdlib.h>; however, on NetBSD this is simply <stdlib.h>. How can we
> make our headers/makefile (-lbsd) portable on both the linux lab and your
> AWS instance?
>
> -Pat
>
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs631apue
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20151202/be8cc943/attachment.html>


More information about the cs631apue mailing list