diff options
author | Brian Callahan <bcallah@cvs.openbsd.org> | 2019-07-24 14:33:17 +0000 |
---|---|---|
committer | Brian Callahan <bcallah@cvs.openbsd.org> | 2019-07-24 14:33:17 +0000 |
commit | 00f811f480d30c29f6d88bae20bb832d360acfe8 (patch) | |
tree | feb3cc95605de91c27a975068cf7a328c46bc421 /bin | |
parent | 9a46ddba0bd380d66f2cfdf7c60870d5ce5a4e4f (diff) |
Add #include <stdlib.h> for mkstemp.
Spotted by maya@netbsd
ok deraadt@
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ksh/io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ksh/io.c b/bin/ksh/io.c index 377cb9b14f8..1ea19783992 100644 --- a/bin/ksh/io.c +++ b/bin/ksh/io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: io.c,v 1.37 2019/06/28 13:34:59 deraadt Exp $ */ +/* $OpenBSD: io.c,v 1.38 2019/07/24 14:33:16 bcallah Exp $ */ /* * shell buffered IO and formatted output @@ -9,6 +9,7 @@ #include <ctype.h> #include <errno.h> #include <fcntl.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> |