summaryrefslogtreecommitdiff
path: root/hscript/network.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-20 00:56:06 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-20 00:56:06 -0500
commitce061359e966bb1299e905a28b00e4857c5f7027 (patch)
tree2e11ef492d26fecb26f61e911ccf11f6a272dac0 /hscript/network.cc
parent8351629c862e5a5f55e0e3a87950c5c55f995e99 (diff)
downloadhorizon-ce061359e966bb1299e905a28b00e4857c5f7027.tar.gz
horizon-ce061359e966bb1299e905a28b00e4857c5f7027.tar.bz2
horizon-ce061359e966bb1299e905a28b00e4857c5f7027.tar.xz
horizon-ce061359e966bb1299e905a28b00e4857c5f7027.zip
hscript: Build fix for Ubuntu 18.04 LTS
Diffstat (limited to 'hscript/network.cc')
-rw-r--r--hscript/network.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/hscript/network.cc b/hscript/network.cc
index 27e8a9e..b751e7e 100644
--- a/hscript/network.cc
+++ b/hscript/network.cc
@@ -12,6 +12,7 @@
#include <algorithm>
#include <arpa/inet.h> /* inet_pton */
+#include <cstring> /* memcpy */
#ifdef HAS_INSTALL_ENV
# include <linux/wireless.h> /* struct iwreq */
# include <string.h> /* strerror */