diff options
author | 2013-11-12 06:07:12 +0000 | |
---|---|---|
committer | 2013-11-12 06:07:12 +0000 | |
commit | 25ee3a6c64544b9f16d2508441aaa4a0ca8319c2 (patch) | |
tree | 64a5b48e5d6f0c93cace5a45ee2c2335d26d55dc /lib/libc | |
parent | add proto for amd64 case; unify otherwise (diff) | |
download | wireguard-openbsd-25ee3a6c64544b9f16d2508441aaa4a0ca8319c2.tar.xz wireguard-openbsd-25ee3a6c64544b9f16d2508441aaa4a0ca8319c2.zip |
pull in stdlib.h as required
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/ttyslot.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/ttyslot.c b/lib/libc/gen/ttyslot.c index da56e911fb1..415fd2aa43d 100644 --- a/lib/libc/gen/ttyslot.c +++ b/lib/libc/gen/ttyslot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ttyslot.c,v 1.7 2005/08/08 08:05:34 espie Exp $ */ +/* $OpenBSD: ttyslot.c,v 1.8 2013/11/12 06:07:12 deraadt Exp $ */ /* * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. @@ -32,6 +32,7 @@ #include <stdio.h> #include <string.h> #include <unistd.h> +#include <stdlib.h> int ttyslot(void) |