aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>2007-02-07 15:21:21 +0000
committerhubertf <hubertf@NetBSD.org>2007-02-07 15:21:21 +0000
commit1614a66337c859f7dc9d6d4eb5f24893c1b5d16e (patch)
tree1d635b39aa85f2d9f0108ae99b21b567c7c0e721
parent22aa5d6e51acac5c119b8412911401362705335c (diff)
downloadbsd-progress-1614a66337c859f7dc9d6d4eb5f24893c1b5d16e.tar.gz
bsd-progress-1614a66337c859f7dc9d6d4eb5f24893c1b5d16e.tar.zst
bsd-progress-1614a66337c859f7dc9d6d4eb5f24893c1b5d16e.zip
#include inttypes.h, for strtoimax(3).
Suggested by Slava Semushin <slava.semushin@gmail.com> in private email.
-rw-r--r--progress.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/progress.c b/progress.c
index fbec39b..79076f9 100644
--- a/progress.c
+++ b/progress.c
@@ -1,4 +1,4 @@
-/* $NetBSD: progress.c,v 1.13 2007/02/07 14:06:57 hubertf Exp $ */
+/* $NetBSD: progress.c,v 1.14 2007/02/07 15:21:21 hubertf Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: progress.c,v 1.13 2007/02/07 14:06:57 hubertf Exp $");
+__RCSID("$NetBSD: progress.c,v 1.14 2007/02/07 15:21:21 hubertf Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -51,6 +51,7 @@ __RCSID("$NetBSD: progress.c,v 1.13 2007/02/07 14:06:57 hubertf Exp $");
#include <fcntl.h>
#include <glob.h>
#include <signal.h>
+#include <inttypes.h>
#include <limits.h>
#include <netdb.h>
#include <stdio.h>