1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/testing/gpm/gpm-include-sysmacros.patch
Gustavo Walbon 3eecbd309c testing/gpm: Fix the miss of the include of sysmacros
After the update on the musl that removed the headers from types.h then
build fails, so the sysmacros.h provides those ones.

Signed-off-by: Gustavo Walbon <gustavowalbon@gmail.com>
2019-12-26 15:02:17 +01:00

10 lines
404 B
Diff

--- a/src/daemon/open_console.c
+++ b/src/daemon/open_console.c
@@ -22,6 +22,7 @@
#include <fcntl.h> /* open and co. */
#include <sys/stat.h> /* stat() */
#include <sys/types.h> /* major() */
+#include <sys/sysmacros.h>
#include <sys/ioctl.h> /* ioctl */
/* Linux specific (to be outsourced in gpm2 */