void-packages/srcpkgs/memcached/patches/termios.patch
q66 31b0d6ccbf memcached: include termios.h properly
The file uses a struct from termios.h but misses the include.
2019-02-20 00:30:18 -03:00

12 lines
367 B
Diff

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.