Added #include<sys/time.h> to to_str.c

svn path=/trunk/; revision=3232
This commit is contained in:
Ed Warnicke 2001-04-01 17:35:21 +00:00
parent cd6ad9d4c0
commit 80f1da63b0
1 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,7 @@
/* to_str.h
* Routines for utilities to convert various other types to strings.
*
* $Id: to_str.c,v 1.2 2001/04/01 06:32:10 hagbard Exp $
* $Id: to_str.c,v 1.3 2001/04/01 17:35:21 hagbard Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -47,12 +47,18 @@
# include "inet_v6defs.h"
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#include "to_str.h"
#include "resolv.h"
#include "pint.h"
#include <stdio.h>
#include <time.h>
/* Wrapper for the most common case of asking
* for a string using a colon as the hex-digit separator.
*/