Skip to content

Commit

Permalink
Fix pkt-line.h to compile with a non-GCC compiler
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dennis Stosberg authored and Junio C Hamano committed Jun 26, 2006
1 parent e898081 commit 07d6893
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkt-line.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef PKTLINE_H
#define PKTLINE_H

#include "git-compat-util.h"

/*
* Silly packetized line writing interface
*/
Expand Down

0 comments on commit 07d6893

Please sign in to comment.