mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 17:51:31 +08:00
Include <rtems/bsd/sys/queue.h> instead of <sys/queue.h>.
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef _KERNEL
|
||||
#include <sys/queue.h>
|
||||
#include <rtems/bsd/sys/queue.h>
|
||||
#endif
|
||||
|
||||
#if __BSD_VISIBLE
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
#include <sys/queue.h>
|
||||
#include <rtems/bsd/sys/queue.h>
|
||||
|
||||
/*
|
||||
* Driver callbacks for media status and change requests.
|
||||
|
||||
@@ -77,7 +77,7 @@ struct ether_header;
|
||||
struct carp_if;
|
||||
#endif
|
||||
|
||||
#include <sys/queue.h> /* get TAILQ macros */
|
||||
#include <rtems/bsd/sys/queue.h> /* get TAILQ macros */
|
||||
|
||||
/*
|
||||
* Structure defining a queue for a network interface.
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#ifndef _NET_RAW_CB_H_
|
||||
#define _NET_RAW_CB_H_
|
||||
|
||||
#include <sys/queue.h>
|
||||
#include <rtems/bsd/sys/queue.h>
|
||||
|
||||
/*
|
||||
* Raw protocol interface control block. Used
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#ifndef _NETINET_IN_PCB_H_
|
||||
#define _NETINET_IN_PCB_H_
|
||||
|
||||
#include <sys/queue.h>
|
||||
#include <rtems/bsd/sys/queue.h>
|
||||
|
||||
/*
|
||||
* Common structure pcb for internet protocol implementation.
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#ifndef _NETINET_IN_VAR_H_
|
||||
#define _NETINET_IN_VAR_H_
|
||||
|
||||
#include <sys/queue.h>
|
||||
#include <rtems/bsd/sys/queue.h>
|
||||
#if !defined(__rtems__)
|
||||
#include <sys/fnv_hash.h>
|
||||
#endif
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#ifndef _KERNEL
|
||||
#include <sys/ucred.h>
|
||||
#endif
|
||||
#include <sys/queue.h>
|
||||
#include <rtems/bsd/sys/queue.h>
|
||||
|
||||
typedef struct fsid { int32_t val[2]; } fsid_t; /* filesystem id type */
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#ifndef _SYS_SOCKETVAR_H_
|
||||
#define _SYS_SOCKETVAR_H_
|
||||
|
||||
#include <sys/queue.h> /* for TAILQ macros */
|
||||
#include <rtems/bsd/sys/queue.h> /* for TAILQ macros */
|
||||
#include <sys/select.h> /* for struct selinfo */
|
||||
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#define _SYS_SYSCTL_H_
|
||||
|
||||
#include <rtems/stdint.h>
|
||||
#include <sys/queue.h>
|
||||
#include <rtems/bsd/sys/queue.h>
|
||||
|
||||
struct thread;
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user