History

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.

John Keeping committed 11 years ago

Commit f2e8ca81 parent 157f5441 file · +1 −2Browse files

Unified · Split

configfile.c+1−2
@@ -6,8 +6,7 @@ · 5 unmodified lines
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
13static int next_char(FILE *f)12static int next_char(FILE *f)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t