mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-16 08:24:42 +00:00
BUILD: fix compilation on NetBSD
Use include file <sys/time.h> to fix compilation error with timeval in some files. This is as reported as 'man 7 system_data_types'. The build error is reported on NetBSD 9.2. This should be backported up to 2.2.
This commit is contained in:
parent
1de51eb727
commit
28c5b3c0bc
@ -15,6 +15,8 @@
|
||||
#ifndef _HAPROXY_CHECKS_T_H
|
||||
#define _HAPROXY_CHECKS_T_H
|
||||
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <import/ebtree-t.h>
|
||||
#include <import/ist.h>
|
||||
#include <haproxy/api-t.h>
|
||||
|
@ -22,6 +22,8 @@
|
||||
#ifndef _HAPROXY_STREAM_T_H
|
||||
#define _HAPROXY_STREAM_T_H
|
||||
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <haproxy/api-t.h>
|
||||
#include <haproxy/channel-t.h>
|
||||
#include <haproxy/dynbuf-t.h>
|
||||
|
Loading…
Reference in New Issue
Block a user