Skip to content

Commit

Permalink
Fix poll.h includes
Browse files Browse the repository at this point in the history
According to POSIX it's <poll.h> since before the Linux era.

Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
  • Loading branch information
ismaell committed Jul 22, 2022
1 parent db98267 commit 103cb30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nvme/mi-mctp.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <stdlib.h>
#include <unistd.h>

#include <sys/poll.h>
#include <poll.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/uio.h>
Expand Down
2 changes: 1 addition & 1 deletion src/nvme/private.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#define _LIBNVME_PRIVATE_H

#include <ccan/list/list.h>
#include <sys/poll.h>
#include <poll.h>
#include <sys/socket.h>

#include "fabrics.h"
Expand Down

0 comments on commit 103cb30

Please sign in to comment.