Needs C11 compiler:
cc1: error: unrecognized command line option "-std=gnu11"
Needs include sys/types.h in fdpass.c:
ccan/ccan/fdpass/fdpass.c: In function 'fdpass_send':
ccan/ccan/fdpass/fdpass.c:16:12: error: 'register_t' undeclared (first use in this function)
16 | char buf[CMSG_SPACE(sizeof(fd))];
| ^~~~~~~~~~
PR: 243481
Approved by: vd (maintainer)
MFH: 2020Q1 (fix build blanket)
11 lines
296 B
C
11 lines
296 B
C
--- ccan/ccan/fdpass/fdpass.c.orig 2020-01-20 22:03:36 UTC
|
|
+++ ccan/ccan/fdpass/fdpass.c
|
|
@@ -1,6 +1,7 @@
|
|
/* CC0 license (public domain) - see LICENSE file for details */
|
|
#include <ccan/fdpass/fdpass.h>
|
|
#include <sys/socket.h>
|
|
+#include <sys/types.h>
|
|
#include <errno.h>
|
|
#include <string.h>
|
|
|