mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
91e05e5e88
* fix linux-utils on mac Closes #831 * wip * wip * wip * fix up headers * stupid. $INCLUDE means something to clang --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
25 lines
647 B
Diff
25 lines
647 B
Diff
--- lib/procfs.c 2022-02-17 05:28:41.000000000 -0500
|
|
+++ lib/procfs.c 2022-04-07 19:10:05.000000000 -0400
|
|
@@ -6,7 +6,9 @@
|
|
*/
|
|
#include <ctype.h>
|
|
#include <unistd.h>
|
|
-#include <sys/vfs.h>
|
|
+//#include <sys/vfs.h>
|
|
+#include <sys/param.h>
|
|
+#include <sys/mount.h>
|
|
#include <errno.h>
|
|
|
|
#include "c.h"
|
|
|
|
--- include/statfs_magic.h 2021-02-02 10:41:37.000000000 -0500
|
|
+++ include/statfs_magic.h 2021-02-21 23:43:37.000000000 -0500
|
|
@@ -1,7 +1,7 @@
|
|
#ifndef UTIL_LINUX_STATFS_MAGIC_H
|
|
#define UTIL_LINUX_STATFS_MAGIC_H
|
|
|
|
-#include <sys/statfs.h>
|
|
+//#include <sys/statfs.h>
|
|
|
|
/*
|
|
* If possible then don't depend on internal libc __SWORD_TYPE type.
|