summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */