projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e898081
)
Fix pkt-line.h to compile with a non-GCC compiler
author
Dennis Stosberg
<dennis@stosberg.net>
Mon, 26 Jun 2006 08:27:07 +0000
(10:27 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 26 Jun 2006 09:11:53 +0000
(
02:11
-0700)
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>
pkt-line.h
patch
|
blob
|
history
diff --git
a/pkt-line.h
b/pkt-line.h
index 9abef24de36119a56a9bee48e49c2c8fccae32fc..9df653f6f5afe720870658d7093bddbf3e66beaf 100644
(file)
--- 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
*/