diff -r 61b333b982ea -r 0022ee690446 mercurial/util.h --- a/mercurial/util.h Fri Jun 13 15:59:18 2014 -0700 +++ b/mercurial/util.h Thu Jul 03 19:05:04 2014 +0200 @@ -159,7 +159,7 @@ int mtime; } dirstateTupleObject; -PyTypeObject dirstateTupleType; +extern PyTypeObject dirstateTupleType; #define dirstate_tuple_check(op) (Py_TYPE(op) == &dirstateTupleType) static inline uint32_t getbe32(const char *c)