void-packages/srcpkgs/memcached/patches/termios.patch

13 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.