pkt-line.h: remove unnecessary include
The unnecessary include in the header transitively pulled in some other headers actually needed by source files, though. Have those source files explicitly include the headers they need. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
a28fe2d901
commit
545f7b50e8
|
@ -4,6 +4,7 @@
|
|||
#include "gettext.h"
|
||||
#include "hex.h"
|
||||
#include "run-command.h"
|
||||
#include "sideband.h"
|
||||
#include "trace.h"
|
||||
#include "write-or-die.h"
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
#define PKTLINE_H
|
||||
|
||||
#include "strbuf.h"
|
||||
#include "sideband.h"
|
||||
|
||||
/*
|
||||
* Write a packetized stream, where each line is preceded by
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "git-compat-util.h"
|
||||
#include "test-tool.h"
|
||||
#include "pkt-line.h"
|
||||
#include "sideband.h"
|
||||
#include "write-or-die.h"
|
||||
|
||||
static void pack_line(const char *line)
|
||||
|
|
Loading…
Reference in New Issue