Group common includes into common.h
Include config.h and compat.h in common.h, and include common.h from all source files.
This commit is contained in:
@@ -11,8 +11,6 @@
|
||||
|
||||
#include "util/process.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#include <assert.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "util/log.h"
|
||||
#include "util/str_util.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user