diff options
author | 2003-07-18 23:05:13 +0000 | |
---|---|---|
committer | 2003-07-18 23:05:13 +0000 | |
commit | 26fda0efb9ec24d261dd2a0d7555cf97a82c0069 (patch) | |
tree | 25da477e473613aad2841d01d2c8afafcd65d61f /lib/libc | |
parent | caddr_t -> void *. ok millert@ tdeval@ (diff) | |
download | wireguard-openbsd-26fda0efb9ec24d261dd2a0d7555cf97a82c0069.tar.xz wireguard-openbsd-26fda0efb9ec24d261dd2a0d7555cf97a82c0069.zip |
add missing includes
ok tedu@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdlib/cfree.c | 5 | ||||
-rw-r--r-- | lib/libc/sys/stack_protector.c | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lib/libc/stdlib/cfree.c b/lib/libc/stdlib/cfree.c index 078e9de23f2..ecbc11d6c30 100644 --- a/lib/libc/stdlib/cfree.c +++ b/lib/libc/stdlib/cfree.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cfree.c,v 1.2 2003/06/04 16:35:23 deraadt Exp $ */ +/* $OpenBSD: cfree.c,v 1.3 2003/07/18 23:05:13 david Exp $ */ /* * Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com> @@ -26,10 +26,11 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: cfree.c,v 1.2 2003/06/04 16:35:23 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: cfree.c,v 1.3 2003/07/18 23:05:13 david Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/cdefs.h> +#include <stdlib.h> #ifdef __indr_reference __indr_reference(free, cfree); diff --git a/lib/libc/sys/stack_protector.c b/lib/libc/sys/stack_protector.c index e954f76a71f..9f45343311c 100644 --- a/lib/libc/sys/stack_protector.c +++ b/lib/libc/sys/stack_protector.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stack_protector.c,v 1.4 2003/03/03 19:52:41 deraadt Exp $ */ +/* $OpenBSD: stack_protector.c,v 1.5 2003/07/18 23:05:13 david Exp $ */ /* * Copyright (c) 2002 Hiroaki Etoh, Federico G. Schwindt, and Miodrag Vallat. @@ -28,12 +28,15 @@ */ #if defined(LIBC_SCCS) && !defined(list) -static char rcsid[] = "$OpenBSD: stack_protector.c,v 1.4 2003/03/03 19:52:41 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: stack_protector.c,v 1.5 2003/07/18 23:05:13 david Exp $"; #endif #include <sys/param.h> #include <sys/sysctl.h> +#include <signal.h> +#include <string.h> #include <syslog.h> +#include <unistd.h> long __guard[8] = {0, 0, 0, 0, 0, 0, 0, 0}; static void __guard_setup(void) __attribute__ ((constructor)); |