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:
Willy Tarreau 2014-07-15 18:05:58 +02:00
parent 8de5415b85
commit 65d805fdfc
3 changed files with 2 additions and 2 deletions

View File

@ -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))

View File

@ -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

View File

@ -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>