diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-08-12 17:24:53 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-08-12 17:24:53 +0000 |
commit | 789374dbbd6931fb9749161ea2882fccfc172343 (patch) | |
tree | cdb535dd3382ff2a5265ac67ccb419253aa31d1c /src/common/compat.h | |
parent | 21959c1bfd8bbc465a330fe8d9ad52518de51f71 (diff) | |
download | tor-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/compat.h')
-rw-r--r-- | src/common/compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index 0cdc5442fc..30db44d8ce 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -26,6 +26,9 @@ #ifdef HAVE_SYS_TIME_H #include <sys/time.h> #endif +#ifdef HAVE_TIME_H +#include <time.h> +#endif #include <stdarg.h> #ifndef NULL_REP_IS_ZERO_BYTES |