diff options
author | 2001-09-20 16:43:15 +0000 | |
---|---|---|
committer | 2001-09-20 16:43:15 +0000 | |
commit | 8445c53715e7030056b779e8ab40efb7820981f2 (patch) | |
tree | 5749b4ecbd3e0330cda0a63a2080802346ac5260 /regress/lib/libc_r/socket/2a/socket2a.c | |
parent | the use of arc4random() in ether_ifattach() is wrong as randomattach() (diff) | |
download | wireguard-openbsd-8445c53715e7030056b779e8ab40efb7820981f2.tar.xz wireguard-openbsd-8445c53715e7030056b779e8ab40efb7820981f2.zip |
per man page and gcc 3.0.1, exit requires prototype from stdlib.h
Diffstat (limited to 'regress/lib/libc_r/socket/2a/socket2a.c')
-rw-r--r-- | regress/lib/libc_r/socket/2a/socket2a.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libc_r/socket/2a/socket2a.c b/regress/lib/libc_r/socket/2a/socket2a.c index ca30ebbc7e5..96278cd981c 100644 --- a/regress/lib/libc_r/socket/2a/socket2a.c +++ b/regress/lib/libc_r/socket/2a/socket2a.c @@ -1,4 +1,4 @@ -/* $OpenBSD: socket2a.c,v 1.1.1.1 2001/08/15 14:37:10 fgsch Exp $ */ +/* $OpenBSD: socket2a.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. @@ -49,6 +49,7 @@ #include <netinet/in.h> #include <unistd.h> #include <string.h> +#include <stdlib.h> #include "test.h" struct sockaddr_in a_sout; |