Browse Source

bsd compat

master
Felix von Leitner 18 years ago
parent
commit
9d014e1f36
  1. 3
      io/io_receivefd.c

3
io/io_receivefd.c

@ -1,3 +1,4 @@
#include <stddef.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/uio.h>
@ -6,7 +7,7 @@
union fdmsg {
struct cmsghdr h;
char buf[CMSG_SPACE(sizeof(int))];
char buf[1000];
};
int64 io_receivefd(int64 sock) {

Loading…
Cancel
Save