exit requires stdlib.h to be included to use.

FreeBSD 10.3 requires this, and dtc is a bootstrap tool so it needs to compile
there.
This commit is contained in:
Warner Losh 2019-10-23 19:23:31 +00:00
parent 08ded448cf
commit dd376a963c

View File

@ -36,6 +36,7 @@
#include <sys/types.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>