aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2018-08-23 02:26:40 +0000
committerKyle Evans <kevans@FreeBSD.org>2018-08-23 02:26:40 +0000
commit67b60a1b7d46d959bdd4925944b149eebbfb593f (patch)
tree691d66b097398cf7406eb5b330a87ef5a9a6bde5 /usr.bin
parentea8b116b32a22782b0adab9c7ecf1ad5f29486d9 (diff)
downloadsrc-67b60a1b7d46d959bdd4925944b149eebbfb593f.tar.gz
src-67b60a1b7d46d959bdd4925944b149eebbfb593f.zip
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/dtc/HACKING4
-rw-r--r--usr.bin/dtc/string.cc1
-rw-r--r--usr.bin/dtc/util.hh3
3 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/dtc/HACKING b/usr.bin/dtc/HACKING
index 9acaeef5bfcd..d90e0f5693b1 100644
--- a/usr.bin/dtc/HACKING
+++ b/usr.bin/dtc/HACKING
@@ -8,9 +8,9 @@ This file contains some notes for people wishing to hack on dtc.
Upstreaming
-----------
-This code is developed in the FreeBSD svn repository:
+This code is developed in the git repository:
-https://svn.freebsd.org/base/head/usr.bin/dtc
+https://github.com/davidchisnall/dtc
If you got the source from anywhere else and wish to make changes, please
ensure that you are working against the latest version, or you may end up
diff --git a/usr.bin/dtc/string.cc b/usr.bin/dtc/string.cc
index 71a304a2ea28..c5acb82687ea 100644
--- a/usr.bin/dtc/string.cc
+++ b/usr.bin/dtc/string.cc
@@ -36,6 +36,7 @@
#include <functional>
#include <cstdio>
#include <cstdlib>
+#include <cstring>
#include <ctype.h>
#include <libgen.h>
diff --git a/usr.bin/dtc/util.hh b/usr.bin/dtc/util.hh
index 337685ef3f48..84646b444b3a 100644
--- a/usr.bin/dtc/util.hh
+++ b/usr.bin/dtc/util.hh
@@ -35,6 +35,9 @@
#ifndef _UTIL_HH_
#define _UTIL_HH_
+#include <memory>
+#include <stdint.h>
+#include <string>
#include <vector>
// If we aren't using C++11, then just ignore static asserts.