diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2001-09-20 16:43:17 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2001-09-20 16:43:17 +0000 |
commit | 6f37323ba7b6bb6a6b9ec40c4c94eb3706bb16a7 (patch) | |
tree | 2e8240ce28e38ebfbd56fba15360eb491d7b9af6 /regress/lib/libc_r/socket/2 | |
parent | bc86ffda7a6a90b9c49f5428131dac2e1fe2f0b1 (diff) |
per man page and gcc 3.0.1, exit requires prototype from stdlib.h
Diffstat (limited to 'regress/lib/libc_r/socket/2')
-rw-r--r-- | regress/lib/libc_r/socket/2/socket2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libc_r/socket/2/socket2.c b/regress/lib/libc_r/socket/2/socket2.c index 5b3b51fda57..70747544a65 100644 --- a/regress/lib/libc_r/socket/2/socket2.c +++ b/regress/lib/libc_r/socket/2/socket2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: socket2.c,v 1.1 2001/08/15 14:37:10 fgsch Exp $ */ +/* $OpenBSD: socket2.c,v 1.2 2001/09/20 16:43:16 todd Exp $ */ /* * Copyright (c) 1993, 1994, 1995, 1996 by Chris Provenzano and contributors, * proven@mit.edu All rights reserved. @@ -51,6 +51,7 @@ #include <netinet/in.h> #include <unistd.h> #include <string.h> +#include <stdlib.h> #include "test.h" struct sockaddr_in a_sout; |