memcached: include termios.h properly

The file uses a struct from termios.h but misses the include.
This commit is contained in:
q66 2019-02-10 18:14:30 +01:00 committed by maxice8
parent 1c49e4b0d9
commit 31b0d6ccbf
1 changed files with 12 additions and 0 deletions

View File

@ -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 <errno.h>
#include <stdlib.h>
#include <sys/ioctl.h>
+#include <termios.h>
#include "memcached.h"
// If anything crosses the policy, kill the process.