packages/utils/mt-st/patches/010-sysmacros.patch
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00

20 lines
392 B
Diff

--- a/mt.c
+++ b/mt.c
@@ -20,6 +20,7 @@
#include <fcntl.h>
#include <sys/types.h>
#include <sys/ioctl.h>
+#include <sys/sysmacros.h>
#include <sys/stat.h>
#include <sys/utsname.h>
--- a/stinit.c
+++ b/stinit.c
@@ -16,6 +16,7 @@
#include <errno.h>
#include <fcntl.h>
#include <dirent.h>
+#include <limits.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/sysmacros.h>