svn commit: r353961 - head/usr.bin/dtc

Warner Losh imp at FreeBSD.org
Wed Oct 23 19:23:32 UTC 2019


Author: imp
Date: Wed Oct 23 19:23:31 2019
New Revision: 353961
URL: https://svnweb.freebsd.org/changeset/base/353961

Log:
  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.

Modified:
  head/usr.bin/dtc/dtb.cc

Modified: head/usr.bin/dtc/dtb.cc
==============================================================================
--- head/usr.bin/dtc/dtb.cc	Wed Oct 23 19:17:10 2019	(r353960)
+++ head/usr.bin/dtc/dtb.cc	Wed Oct 23 19:23:31 2019	(r353961)
@@ -36,6 +36,7 @@
 #include <sys/types.h>
 #include <inttypes.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include <errno.h>
 


More information about the svn-src-all mailing list