Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions clnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
#include <signal.h>
#include <poll.h>

// If POLLRDHUP not supported, ignore
#ifndef POLLRDHUP
#warning POLLRDHUP not available on this system. Skipping.
#define POLLRDHUP 0
#endif

struct CLIENT {
xdr_s_type *xdr;
Expand Down
4 changes: 4 additions & 0 deletions rpc/rpc_router_ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@
#ifndef RPC_IOCTL_H
#define RPC_IOCTL_H

#if defined(__linux__)
#include <linux/ioctl.h>
#elif defined(__HAIKU__)
#include <sys/ioccom.h>
#endif

struct rpcrouter_ioctl_server_args {
uint32_t prog;
Expand Down