Commit 58ae1bdd authored by Ankit Kumar's avatar Ankit Kumar Committed by Konrad Sztyber
Browse files

stdinc.h: move epoll header over here



Change-Id: Iaee83f78f3586548ded3c54af862011c380d0d75
Signed-off-by: default avatarAnkit Kumar <ankit.kumar@samsung.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25395


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarJim Harris <jim.harris@samsung.com>
Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
parent 458c5cd3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -76,6 +76,7 @@ extern "C" {
#ifdef __linux__
#include <sys/xattr.h>
#include <sys/eventfd.h>
#include <sys/epoll.h>
#include <sched.h>
#endif

+0 −4
Original line number Diff line number Diff line
@@ -11,10 +11,6 @@
#ifndef SPDK_THREAD_H_
#define SPDK_THREAD_H_

#ifdef __linux__
#include <sys/epoll.h>
#endif

#include "spdk/config.h"
#include "spdk/fd_group.h"
#include "spdk/stdinc.h"
+0 −4
Original line number Diff line number Diff line
@@ -12,10 +12,6 @@

#include "spdk/fd_group.h"

#ifdef __linux__
#include <sys/epoll.h>
#endif

#define SPDK_MAX_EVENT_NAME_LEN 256

enum event_handler_state {
+0 −1
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@
#include <sys/event.h>
#define SPDK_KEVENT
#else
#include <sys/epoll.h>
#define SPDK_EPOLL
#endif

+0 −1
Original line number Diff line number Diff line
@@ -7,7 +7,6 @@
#include "spdk/config.h"

#include <linux/errqueue.h>
#include <sys/epoll.h>
#include <liburing.h>

#include "spdk/barrier.h"