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/libpthread/netdb/netdb.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/libpthread/netdb/netdb.c')
-rw-r--r-- | regress/lib/libpthread/netdb/netdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libpthread/netdb/netdb.c b/regress/lib/libpthread/netdb/netdb.c index e85018b047b..9f764d87827 100644 --- a/regress/lib/libpthread/netdb/netdb.c +++ b/regress/lib/libpthread/netdb/netdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: netdb.c,v 1.1.1.1 2001/08/15 14:37:11 fgsch Exp $ */ +/* $OpenBSD: netdb.c,v 1.2 2001/09/20 16:43:15 todd Exp $ */ /* * Copyright (c) 1993, 1994, 1995, 1996 by Chris Provenzano and contributors, * proven@mit.edu All rights reserved. @@ -46,6 +46,7 @@ #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> +#include <stdlib.h> #include "test.h" static void test_serv() |