aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorEd Warnicke <hagbard@physics.rutgers.edu>2001-04-01 17:35:21 +0000
committerEd Warnicke <hagbard@physics.rutgers.edu>2001-04-01 17:35:21 +0000
commit80f1da63b03c02e04b2ac98926737cafd0372c7b (patch)
tree610e787cd2f2f58bbe0ae354cc84a95a545eb4b5 /epan
parentcd6ad9d4c0ea750b5f7b644380f46aa52be68ca1 (diff)
Added #include<sys/time.h> to to_str.c
svn path=/trunk/; revision=3232
Diffstat (limited to 'epan')
-rw-r--r--epan/to_str.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/epan/to_str.c b/epan/to_str.c
index a3d087288c..7462442d1d 100644
--- a/epan/to_str.c
+++ b/epan/to_str.c
@@ -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.
*/