summaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-08-12 17:24:53 +0000
committerNick Mathewson <nickm@torproject.org>2005-08-12 17:24:53 +0000
commit789374dbbd6931fb9749161ea2882fccfc172343 (patch)
treecdb535dd3382ff2a5265ac67ccb419253aa31d1c /src/common/util.c
parent21959c1bfd8bbc465a330fe8d9ad52518de51f71 (diff)
downloadtor-789374dbbd6931fb9749161ea2882fccfc172343.tar.gz
tor-789374dbbd6931fb9749161ea2882fccfc172343.zip
Make GCC very happy, even with lots of warnings set. Also, try to fix some reported Solaris x86 warnings.
svn:r4770
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c
index ea726d1135..acc5cb9d44 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -77,6 +77,9 @@ const char util_c_id[] = "$Id$";
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
#ifndef O_BINARY
#define O_BINARY 0