Parcourir la source

Twiddle header order to compile on OS X again

svn:r2681
Nick Mathewson il y a 21 ans
Parent
commit
b56ef496d9
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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