@matheusbsbs / matheus-bagliano / commits / 07d68930c2
Fork 0

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 <junkio@cox.net>

Dennis Stosberg committed Jun 26, 2006 at 10:27 UTC 07d68930c247325116ad4a63422eb1520aaf6ef8
1 file changed +2
pkt-line.h
+2
@@ -1,6 +1,8 @@
1 #ifndef PKTLINE_H
2 #define PKTLINE_H
3
4 +#include "git-compat-util.h"
5 +
6 /*
7 * Silly packetized line writing interface
8 */