diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2009-05-01 10:36:49 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2009-05-01 10:36:49 +0000 |
commit | 994d40ada438cd335772e7020e1b74c088572aff (patch) | |
tree | 25ca5dd2f87efcdcbf24a5e280ff92c137eb5cd2 | |
parent | 685b1cc4e642d83199b0f5da10cf0eee25b3ef4b (diff) |
add missing header needed by err()
ok otto@ millert@ gilles@
-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> |