# HG changeset patch # User Yuya Nishihara # Date 1507901904 -32400 # Node ID 174d115d8104687216d68723845fb15e9f830d75 # Parent e88dbbcf2a56ee92f4bae122c772fad8cd84c550 bdiff: include compat.h in header to define ssize_t Before ff4c9c6263de, compat.h was included first so it happened to work. But we shouldn't rely on the include order. diff -r e88dbbcf2a56 -r 174d115d8104 mercurial/bdiff.h --- a/mercurial/bdiff.h Sat Sep 30 22:37:20 2017 +0100 +++ b/mercurial/bdiff.h Fri Oct 13 22:38:24 2017 +0900 @@ -1,6 +1,8 @@ #ifndef _HG_BDIFF_H_ #define _HG_BDIFF_H_ +#include "compat.h" + struct bdiff_line { int hash, n, e; ssize_t len;