Browse Source

Twiddle header order to compile on OS X again

svn:r2681
Nick Mathewson 20 years ago
parent
commit
b56ef496d9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/common/compat.h

+ 3 - 0
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