diff options
| author | perry <perry@NetBSD.org> | 1998-02-03 03:10:15 +0000 |
|---|---|---|
| committer | perry <perry@NetBSD.org> | 1998-02-03 03:10:15 +0000 |
| commit | c10fb822b5e14945df01aeb249f54e2e1b63e5a9 (patch) | |
| tree | b22c5624a93bc95f32273ba5cb230a383a9c7eb5 /usr.bin/printf/printf.c | |
| parent | 1ee799896c158abcce55899f9b44b8d210acd484 (diff) | |
add <unistd.h> to fix compiler warning
Diffstat (limited to 'usr.bin/printf/printf.c')
| -rw-r--r-- | usr.bin/printf/printf.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/usr.bin/printf/printf.c b/usr.bin/printf/printf.c index 3d90fb5eb59..e201e1e9e53 100644 --- a/usr.bin/printf/printf.c +++ b/usr.bin/printf/printf.c @@ -1,4 +1,4 @@ -/* $NetBSD: printf.c,v 1.18 1997/10/19 22:57:05 lukem Exp $ */ +/* $NetBSD: printf.c,v 1.19 1998/02/03 03:10:15 perry Exp $ */ /* * Copyright (c) 1989, 1993 @@ -45,20 +45,21 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\ #if 0 static char sccsid[] = "@(#)printf.c 8.2 (Berkeley) 3/22/95"; #else -__RCSID("$NetBSD: printf.c,v 1.18 1997/10/19 22:57:05 lukem Exp $"); +__RCSID("$NetBSD: printf.c,v 1.19 1998/02/03 03:10:15 perry Exp $"); #endif #endif /* not lint */ #include <sys/types.h> #include <ctype.h> +#include <err.h> +#include <errno.h> +#include <limits.h> +#include <locale.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <limits.h> -#include <locale.h> -#include <errno.h> -#include <err.h> +#include <unistd.h> static int print_escape_str __P((const char *)); static size_t print_escape __P((const char *)); |
