memcached: re-add patch that was removed for no reason

[ci skip]
This commit is contained in:
q66 2019-11-29 17:10:17 +01:00 committed by Helmut Pozimski
parent 5dd08e3d17
commit 1b4fef2496

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>