diff options
author | chl <chl@openbsd.org> | 2009-05-01 10:36:48 +0000 |
---|---|---|
committer | chl <chl@openbsd.org> | 2009-05-01 10:36:48 +0000 |
commit | 4abb5f1a4f7282fc08a5b15787e9ff689c2aaf9e (patch) | |
tree | 57c16476a152ee19b3deb57a005476cb27a01e50 /usr.bin/readlink | |
parent | use printf instead of echo for one of the anchor examples - this allows it (diff) | |
download | wireguard-openbsd-4abb5f1a4f7282fc08a5b15787e9ff689c2aaf9e.tar.xz wireguard-openbsd-4abb5f1a4f7282fc08a5b15787e9ff689c2aaf9e.zip |
add missing header needed by err()
ok otto@ millert@ gilles@
Diffstat (limited to 'usr.bin/readlink')
-rw-r--r-- | usr.bin/readlink/readlink.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/readlink/readlink.c b/usr.bin/readlink/readlink.c index db2e6d87a24..83c3a25c12a 100644 --- a/usr.bin/readlink/readlink.c +++ b/usr.bin/readlink/readlink.c @@ -1,5 +1,5 @@ /* - * $OpenBSD: readlink.c,v 1.24 2007/09/10 07:42:26 sobrado Exp $ + * $OpenBSD: readlink.c,v 1.25 2009/05/01 10:36:48 chl Exp $ * * Copyright (c) 1997 * Kenneth Stailey (hereinafter referred to as the author) @@ -27,8 +27,9 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <limits.h> +#include <err.h> #include <errno.h> +#include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |