Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2019 19:23:31 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r353961 - head/usr.bin/dtc
Message-ID:  <201910231923.x9NJNV5w032771@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910231923.x9NJNV5w032771>