void-packages/srcpkgs/kmscon/patches/sysmacros.patch
Jürgen Buchmüller 653e880ecf kmscon: fix build and xlint
Needs sys/sysmacros.h for definitions of major and minor.
2020-05-27 12:00:46 +02:00

11 lines
292 B
Diff

--- src/uterm_vt.c 2013-10-23 23:15:18.865000000 +0200
+++ src/uterm_vt.c 2020-05-27 11:59:09.636287929 +0200
@@ -40,6 +40,7 @@
#include <sys/ioctl.h>
#include <sys/signalfd.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <termios.h>
#include <time.h>
#include <unistd.h>