aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/dtc
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-02-13 20:56:53 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-02-13 20:56:53 +0000
commit23cba92bd343301f574671a95ff7b955d727c312 (patch)
treeeb2782009db35ce55e6097023b5fb79625bc0124 /usr.bin/dtc
parentc7529864f6b653363c853b9033404b0f4ca6540e (diff)
downloadsrc-23cba92bd343301f574671a95ff7b955d727c312.tar.gz
src-23cba92bd343301f574671a95ff7b955d727c312.zip
Notes
Diffstat (limited to 'usr.bin/dtc')
-rw-r--r--usr.bin/dtc/input_buffer.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/dtc/input_buffer.cc b/usr.bin/dtc/input_buffer.cc
index e8fcdf6c5b8d..2f02426c0dc8 100644
--- a/usr.bin/dtc/input_buffer.cc
+++ b/usr.bin/dtc/input_buffer.cc
@@ -32,6 +32,7 @@
#include "input_buffer.hh"
#include <ctype.h>
+#include <errno.h>
#include <limits.h>
#include <stdint.h>
#include <stdio.h>
@@ -544,7 +545,8 @@ struct binary_operator : public binary_operator_base
* Constructor. Takes the name of the operator as an argument, for
* debugging. Only stores it in debug mode.
*/
- binary_operator(source_location l, const char *) : expression(l) {}
+ binary_operator(source_location l, const char *) :
+ binary_operator_base(l) {}
#else
const char *opName;
binary_operator(source_location l, const char *o) :