comparison mercurial/bdiff.h @ 34652:174d115d8104

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.
author Yuya Nishihara <yuya@tcha.org>
date Fri, 13 Oct 2017 22:38:24 +0900
parents 72985b390d7c
children d86908050375
comparison
equal deleted inserted replaced
34651:e88dbbcf2a56 34652:174d115d8104
1 #ifndef _HG_BDIFF_H_ 1 #ifndef _HG_BDIFF_H_
2 #define _HG_BDIFF_H_ 2 #define _HG_BDIFF_H_
3
4 #include "compat.h"
3 5
4 struct bdiff_line { 6 struct bdiff_line {
5 int hash, n, e; 7 int hash, n, e;
6 ssize_t len; 8 ssize_t len;
7 const char *l; 9 const char *l;