BUILD: fix dependencies between config and compat.h
compat.h only depends on the system, and config needs compat, not the opposite. global.h was fixed to explicitly include standard.h for LONGBITS.
This commit is contained in:
parent
8de5415b85
commit
65d805fdfc
|
@ -27,8 +27,6 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <common/config.h>
|
||||
#include <common/standard.h>
|
||||
|
||||
#ifndef BITS_PER_INT
|
||||
#define BITS_PER_INT (8*sizeof(int))
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#define _COMMON_CONFIG_H
|
||||
|
||||
#include <common/compiler.h>
|
||||
#include <common/compat.h>
|
||||
#include <common/defaults.h>
|
||||
|
||||
/* this reduces the number of calls to select() by choosing appropriate
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include <netinet/in.h>
|
||||
|
||||
#include <common/config.h>
|
||||
#include <common/standard.h>
|
||||
#include <types/freq_ctr.h>
|
||||
#include <types/listener.h>
|
||||
#include <types/proxy.h>
|
||||
|
|
Loading…
Reference in New Issue