diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2002-08-27 16:43:52 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2002-08-27 16:43:52 +0000 |
commit | abbfc9d5d261de5834fd68427237717e01ca76aa (patch) | |
tree | 905a9d2390c218fa1ccc961e868d0cdc5f292e47 | |
parent | c18809045992e855f33f5d025e76f2f3079dc485 (diff) |
Add <stdlib.h> for malloc prototype
-rw-r--r-- | regress/sys/kern/nxheap-mprotect/nxheap-mprotect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/sys/kern/nxheap-mprotect/nxheap-mprotect.c b/regress/sys/kern/nxheap-mprotect/nxheap-mprotect.c index 17d08c2fd1f..6a6b8b2c37c 100644 --- a/regress/sys/kern/nxheap-mprotect/nxheap-mprotect.c +++ b/regress/sys/kern/nxheap-mprotect/nxheap-mprotect.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nxheap-mprotect.c,v 1.1 2002/08/27 16:37:42 matthieu Exp $ */ +/* $OpenBSD: nxheap-mprotect.c,v 1.2 2002/08/27 16:43:51 matthieu Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff @@ -33,6 +33,7 @@ #include <stdio.h> #include <signal.h> #include <string.h> +#include <stdlib.h> #define SIZE 256 /* assuming the testfly() will fit */ |