1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 19:33:59 +02:00
openwrt-packages/utils/mt-st/patches/010-sysmacros.patch
Rosen Penev 5256c104e8
pciutils: Fix pkgconfig file
It's pointing to the host.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-27 23:30:09 -08:00

25 lines
510 B
Diff

diff --git a/mt.c b/mt.c
index d4058c0..4837808 100644
--- 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>
diff --git a/stinit.c b/stinit.c
index 5a50341..af5582c 100644
--- 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>