aboutsummaryrefslogtreecommitdiffstats
path: root/progressbar.c
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2012-06-27 22:07:36 +0000
committerriastradh <riastradh@NetBSD.org>2012-06-27 22:07:36 +0000
commitd80f4bd9104c017f4691f9c6438734f68262d3e2 (patch)
treeaef866fa3371126ea28c970641d2bb855e9b4066 /progressbar.c
parent6e136e80f3716a873f9001ea65abb482acc22a04 (diff)
downloadbsd-progress-d80f4bd9104c017f4691f9c6438734f68262d3e2.tar.gz
bsd-progress-d80f4bd9104c017f4691f9c6438734f68262d3e2.tar.zst
bsd-progress-d80f4bd9104c017f4691f9c6438734f68262d3e2.zip
Clean up #includes in progress(1).
Sort them, omit needless ones, and add omitted needful ones. Omissions revealed by pilfering the code and trying to build it on Mac OS X. We ought to have a better way to reveal these omissions...
Diffstat (limited to 'progressbar.c')
-rw-r--r--progressbar.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/progressbar.c b/progressbar.c
index d7edd27..2350776 100644
--- a/progressbar.c
+++ b/progressbar.c
@@ -1,4 +1,4 @@
-/* $NetBSD: progressbar.c,v 1.21 2009/04/12 10:18:52 lukem Exp $ */
+/* $NetBSD: progressbar.c,v 1.22 2012/06/27 22:07:36 riastradh Exp $ */
/*-
* Copyright (c) 1997-2009 The NetBSD Foundation, Inc.
@@ -31,14 +31,15 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: progressbar.c,v 1.21 2009/04/12 10:18:52 lukem Exp $");
+__RCSID("$NetBSD: progressbar.c,v 1.22 2012/06/27 22:07:36 riastradh Exp $");
#endif /* not lint */
/*
* FTP User Program -- Misc support routines
*/
-#include <sys/types.h>
#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/time.h>
#include <err.h>
#include <errno.h>