mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
BUG/MINOR: cpuset: move include guard at the very beginning
The include guard in cpuset-t.h were misplaced and should be the first directive of the file. No need to backport.
This commit is contained in:
parent
43899ec83d
commit
9463f0e222
@ -1,3 +1,6 @@
|
|||||||
|
#ifndef _HAPROXY_CPUSET_T_H
|
||||||
|
#define _HAPROXY_CPUSET_T_H
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
|
|
||||||
@ -9,9 +12,6 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _HAPROXY_CPUSET_T_H
|
|
||||||
#define _HAPROXY_CPUSET_T_H
|
|
||||||
|
|
||||||
#if defined(__linux__) || defined(__DragonFly__)
|
#if defined(__linux__) || defined(__DragonFly__)
|
||||||
|
|
||||||
# define CPUSET_REPR cpu_set_t
|
# define CPUSET_REPR cpu_set_t
|
||||||
|
Loading…
x
Reference in New Issue
Block a user