aboutsummaryrefslogtreecommitdiff
path: root/pkt-line.h
diff options
context:
space:
mode:
authorDennis Stosberg <dennis@stosberg.net>2006-06-26 10:27:07 +0200
committerJunio C Hamano <junkio@cox.net>2006-06-26 02:11:53 -0700
commit07d68930c247325116ad4a63422eb1520aaf6ef8 (patch)
tree3238ae5abd9bf56134ae2f5d08dde27d88918954 /pkt-line.h
parente898081dfbedcb77e3dfcdc9c347669f6c093d65 (diff)
downloadgit-07d68930c247325116ad4a63422eb1520aaf6ef8.tar.gz
git-07d68930c247325116ad4a63422eb1520aaf6ef8.tar.xz
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>
Diffstat (limited to 'pkt-line.h')
-rw-r--r--pkt-line.h2
1 files changed, 2 insertions, 0 deletions
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
*/