From: Dennis Stosberg Date: Mon, 26 Jun 2006 08:27:07 +0000 (+0200) Subject: Fix pkt-line.h to compile with a non-GCC compiler X-Git-Tag: v1.4.1-rc2~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=07d68930c247325116ad4a63422eb1520aaf6ef8;p=git.git Fix pkt-line.h to compile with a non-GCC compiler pkt-line.h uses GCC's __attribute__ extension but does not include git-compat-util.h. So it will not compile with a compiler that does not support this extension. Signed-off-by: Junio C Hamano --- diff --git a/pkt-line.h b/pkt-line.h index 9abef24de..9df653f6f 100644 --- a/pkt-line.h +++ b/pkt-line.h @@ -1,6 +1,8 @@ #ifndef PKTLINE_H #define PKTLINE_H +#include "git-compat-util.h" + /* * Silly packetized line writing interface */