aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-11-04 22:33:20 +0000
committerNick Mathewson <nickm@torproject.org>2004-11-04 22:33:20 +0000
commitb56ef496d9af0107cf2278cf225f1c8189b194a9 (patch)
tree59e719e23b24d8b218582bed7c92f37a5e21a5f5
parent19868fe96820f22601fd3fdac24dfeabc4e6a8c4 (diff)
downloadtor-b56ef496d9af0107cf2278cf225f1c8189b194a9.tar
tor-b56ef496d9af0107cf2278cf225f1c8189b194a9.tar.gz
Twiddle header order to compile on OS X again
svn:r2681
-rw-r--r--src/common/compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index 1bc362fb9..a3b136ab6 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -21,6 +21,9 @@
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
#include <stdarg.h>
#ifndef NULL_REP_IS_ZERO_BYTES