mirror of
https://github.com/rsmarples/dhcpcd.git
synced 2024-11-23 10:06:42 +08:00
rbtree: Fix building from a DragonFlyBSD import
This commit is contained in:
parent
f61961f5cb
commit
5f106a2237
@ -29,7 +29,7 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "common.h"
|
||||
#include "config.h"
|
||||
|
||||
#if !defined(_KERNEL) && !defined(_STANDALONE)
|
||||
#include <sys/types.h>
|
||||
|
@ -32,7 +32,7 @@
|
||||
#ifndef _SYS_RBTREE_H_
|
||||
#define _SYS_RBTREE_H_
|
||||
|
||||
#include "common.h"
|
||||
#include "config.h"
|
||||
|
||||
#if defined(_KERNEL) || defined(_STANDALONE)
|
||||
#include <sys/types.h>
|
||||
@ -40,7 +40,11 @@
|
||||
#include <stdbool.h>
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_QUEUE_H
|
||||
#include <sys/queue.h>
|
||||
#else
|
||||
#include "queue.h"
|
||||
#endif
|
||||
#if !defined(__linux__) && !defined(__QNX__) && !defined(__sun)
|
||||
#include <sys/endian.h>
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user