summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-06-24 16:25:18 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-06-24 16:25:18 +0000
commitecc96ce1110214dced524be444f32efd9303ec3c (patch)
tree056b239176be74e075a66aaf3574d98535fe7b87 /gnu/usr.bin
parent873330df46313dc32099c3300b4522a6587aadd3 (diff)
include stdlib.h for malloc proto; noted by Theo
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/sudo/sudo/tgetpass.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/sudo/sudo/tgetpass.c b/gnu/usr.bin/sudo/sudo/tgetpass.c
index eac95181647..2703a84fac1 100644
--- a/gnu/usr.bin/sudo/sudo/tgetpass.c
+++ b/gnu/usr.bin/sudo/sudo/tgetpass.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tgetpass.c,v 1.8 1998/03/31 06:41:16 millert Exp $ */
+/* $OpenBSD: tgetpass.c,v 1.9 1998/06/24 16:25:17 millert Exp $ */
/*
* CU sudo version 1.5.5
@@ -35,6 +35,9 @@ static char rcsid[] = "Id: tgetpass.c,v 1.60 1998/03/31 05:05:48 millert Exp $";
#include "config.h"
#include <stdio.h>
+#ifdef STDC_HEADERS
+#include <stdlib.h>
+#endif /* STDC_HEADERS */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif /* HAVE_UNISTD_H */