diff options
author | John Keeping | 2015-08-13 12:14:16 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2015-08-13 15:37:28 +0200 |
commit | f2e8ca806d43acbfd9bef53f1a3ee5ce95ff32e7 (patch) | |
tree | 9defdd3afad14ea487e97bc8f27c743b50f56cbf /configfile.c | |
parent | 157f544ac2149a985b0f62e9381a759c0ae252ec (diff) | |
download | cgit-f2e8ca806d43acbfd9bef53f1a3ee5ce95ff32e7.tar.gz cgit-f2e8ca806d43acbfd9bef53f1a3ee5ce95ff32e7.tar.bz2 cgit-f2e8ca806d43acbfd9bef53f1a3ee5ce95ff32e7.zip |
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 <john@keeping.me.uk>
Diffstat (limited to 'configfile.c')
-rw-r--r-- | configfile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configfile.c b/configfile.c index 833f158..5b0d880 100644 --- a/configfile.c +++ b/configfile.c | |||
@@ -6,8 +6,7 @@ | |||
6 | * (see COPYING for full license text) | 6 | * (see COPYING for full license text) |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <ctype.h> | 9 | #include <git-compat-util.h> |
10 | #include <stdio.h> | ||
11 | #include "configfile.h" | 10 | #include "configfile.h" |
12 | 11 | ||
13 | static int next_char(FILE *f) | 12 | static int next_char(FILE *f) |