davidchisnall / dtc

FreeBSD Device Tree Compiler
18 stars 15 forks source link

dtb.cc needs to include stdlib.h #58

Closed qemu-bsd-user closed 4 years ago

qemu-bsd-user commented 5 years ago

dtb.cc uses exit(1). However, it doesn't include stdlib.h. Depending on what namespace pollution you have, this may or may not work by accident.

https://svnweb.freebsd.org/base?view=revision&revision=353961

fixes this. It's unclear to me the best way to submit this to you, so I'll start here but can shift to another method if you'd like.

Warner

davidchisnall commented 4 years ago

This was fixed by PR #62