From 31b0d6ccbfdbe1db62709381a33e7996459b9da3 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 10 Feb 2019 18:14:30 +0100 Subject: [PATCH] memcached: include termios.h properly The file uses a struct from termios.h but misses the include. --- srcpkgs/memcached/patches/termios.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 srcpkgs/memcached/patches/termios.patch diff --git a/srcpkgs/memcached/patches/termios.patch b/srcpkgs/memcached/patches/termios.patch new file mode 100644 index 0000000000..ed45d1975d --- /dev/null +++ b/srcpkgs/memcached/patches/termios.patch @@ -0,0 +1,12 @@ +This fixes build (errors about an incomplete struct) as the +code uses TCGETS. +--- linux_priv.c 2019-02-10 17:37:43.939089097 +0100 ++++ linux_priv.c 2019-02-10 17:37:31.180435066 +0100 +@@ -3,6 +3,7 @@ + #include + #include + #include ++#include + #include "memcached.h" + + // If anything crosses the policy, kill the process.