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:
@@ -2,6 +2,7 @@
|
||||
#define COMMON_H
|
||||
|
||||
#include "config.h"
|
||||
#include "compat.h"
|
||||
|
||||
#define ARRAY_LEN(a) (sizeof(a) / sizeof(a[0]))
|
||||
#define MIN(X,Y) (X) < (Y) ? (X) : (Y)
|
||||
|
||||
Reference in New Issue
Block a user