projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net engine: missing includes
[fio.git]
/
engines
/
net.c
diff --git
a/engines/net.c
b/engines/net.c
index 45914776d0b9c47a4d5110d7c575c7f4f4ddf2c7..0acd569d37bfc790f210464a145321ec08b039b8 100644
(file)
--- a/
engines/net.c
+++ b/
engines/net.c
@@
-13,6
+13,8
@@
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/poll.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <sys/poll.h>
+#include <sys/types.h>
+#include <sys/socket.h>
#include "../fio.h"
#include "../fio.h"
@@
-165,13
+167,13
@@
static int fio_netio_splice_out(struct thread_data *td, struct io_u *io_u)
#else
static int fio_netio_splice_in(struct thread_data *td, struct io_u *io_u)
{
#else
static int fio_netio_splice_in(struct thread_data *td, struct io_u *io_u)
{
- errno =
-
EOPNOTSUPP;
+ errno = EOPNOTSUPP;
return -1;
}
static int fio_netio_splice_out(struct thread_data *td, struct io_u *io_u)
{
return -1;
}
static int fio_netio_splice_out(struct thread_data *td, struct io_u *io_u)
{
- errno =
-
EOPNOTSUPP;
+ errno = EOPNOTSUPP;
return -1;
}
#endif
return -1;
}
#endif