From: John Keeping Date: Thu, 13 Aug 2015 11:14:16 +0000 (+0100) Subject: configfile.c: don't include system headers directly X-Git-Tag: v0.12~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2e8ca806d43acbfd9bef53f1a3ee5ce95ff32e7;p=cgit configfile.c: don't include system headers directly git-compat-util.h may define various values that affect the interpretation of system headers. In most places we include cgit.h first, which pulls in git-compat-util.h, but this file does not depend on anything else in CGit, so use git-compat-util.h directly. Signed-off-by: John Keeping --- diff --git a/configfile.c b/configfile.c index 833f158..5b0d880 100644 --- a/configfile.c +++ b/configfile.c @@ -6,8 +6,7 @@ * (see COPYING for full license text) */ -#include -#include +#include #include "configfile.h" static int next_char(FILE *f)