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>
This commit is contained in:
John Keeping 2015-08-13 12:14:16 +01:00 committed by Jason A. Donenfeld
parent 157f544ac2
commit f2e8ca806d
1 changed files with 1 additions and 2 deletions

View File

@ -6,8 +6,7 @@
* (see COPYING for full license text)
*/
#include <ctype.h>
#include <stdio.h>
#include <git-compat-util.h>
#include "configfile.h"
static int next_char(FILE *f)