Skip to content

Commit

Permalink
Fix for FreeBSD/NetBSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
xclerc committed May 29, 2020
1 parent 84ac9f8 commit 102863e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions iobuf_unix/src/iobuf_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
/* Using the Abstract_tag, expose a version of recvmmsg that allows
for the reuse of the mmsghdr and associated iovecs. */

#if defined(__FreeBSD__) || defined(__NetBSD__)
#include <sys/types.h>
#include <sys/socket.h>
#endif

typedef struct _recvmmsg_ctx
{
struct mmsghdr * hdrs;
Expand Down

0 comments on commit 102863e

Please sign in to comment.