summaryrefslogtreecommitdiffstats
path: root/bin/ksh/expr.c
diff options
context:
space:
mode:
authormmcc <mmcc@openbsd.org>2015-10-19 14:42:16 +0000
committermmcc <mmcc@openbsd.org>2015-10-19 14:42:16 +0000
commit56018212567b00acab49a858d7374adbff28623e (patch)
treec41932cd1db73db5f4e5c5b83dc1daeb8432d869 /bin/ksh/expr.c
parentfix memory leaks in error paths (diff)
downloadwireguard-openbsd-56018212567b00acab49a858d7374adbff28623e.tar.xz
wireguard-openbsd-56018212567b00acab49a858d7374adbff28623e.zip
Move string.h include from sh.h to the files that use it.
ok nicm@
Diffstat (limited to 'bin/ksh/expr.c')
-rw-r--r--bin/ksh/expr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ksh/expr.c b/bin/ksh/expr.c
index d7bf29f9ec5..fc5ec1e2fd4 100644
--- a/bin/ksh/expr.c
+++ b/bin/ksh/expr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: expr.c,v 1.30 2015/10/19 14:03:21 mmcc Exp $ */
+/* $OpenBSD: expr.c,v 1.31 2015/10/19 14:42:16 mmcc Exp $ */
/*
* Korn expression evaluation
@@ -9,6 +9,7 @@
#include <ctype.h>
#include <limits.h>
+#include <string.h>
#include "sh.h"