summaryrefslogtreecommitdiffstats
path: root/bin/dd/conv.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-11-12 23:09:15 +0000
committerphk <phk@FreeBSD.org>1996-11-12 23:09:15 +0000
commit74bda8433b8407a6199e7840fb48fde136cd1c8f (patch)
treecf9743a63f5092eca553c4787aa943a896b48572 /bin/dd/conv.c
parenta81549782df942af453c4fc58169a57de424af37 (diff)
downloadFreeBSD-src-74bda8433b8407a6199e7840fb48fde136cd1c8f.zip
FreeBSD-src-74bda8433b8407a6199e7840fb48fde136cd1c8f.tar.gz
Increase precision of duration to milliseconds.
Some heuristics to avoid overflow in calculation attempted.
Diffstat (limited to 'bin/dd/conv.c')
-rw-r--r--bin/dd/conv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/dd/conv.c b/bin/dd/conv.c
index e87c396..41c5909 100644
--- a/bin/dd/conv.c
+++ b/bin/dd/conv.c
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: conv.c,v 1.3 1994/09/24 02:54:44 davidg Exp $
*/
#ifndef lint
@@ -45,6 +45,7 @@ static char sccsid[] = "@(#)conv.c 8.3 (Berkeley) 4/2/94";
#include <err.h>
#include <string.h>
+#include <sys/time.h>
#include "dd.h"
#include "extern.h"
OpenPOWER on IntegriCloud