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>
This commit is contained in:
parent
e898081dfb
commit
07d68930c2
@ -1,6 +1,8 @@
|
|||||||
#ifndef PKTLINE_H
|
#ifndef PKTLINE_H
|
||||||
#define PKTLINE_H
|
#define PKTLINE_H
|
||||||
|
|
||||||
|
#include "git-compat-util.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Silly packetized line writing interface
|
* Silly packetized line writing interface
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user