memcached: fix FTBFS

[ci skip]
This commit is contained in:
q66 2019-11-04 12:46:11 +01:00 committed by Helmut Pozimski
parent 4f1d5354ea
commit 5fa93bbd1a

View file

@ -0,0 +1,12 @@
linux_priv.c:82:90: error: invalid application of 'sizeof' to incomplete type 'struct termios'
82 | rc |= seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(ioctl), 1, SCMP_A1(SCMP_CMP_EQ, TCGETS));
--- linux_priv.c
+++ linux_priv.c
@@ -1,5 +1,6 @@
#include "config.h"
#include <seccomp.h>
+#include <termios.h>
#include <errno.h>
#include <stdlib.h>
#include <sys/ioctl.h>