nixpkgs/pkgs/tools/backup/hpe-ltfs/remove-sysctl.patch

15 lines
349 B
Diff
Raw Normal View History

2021-11-06 10:28:12 +00:00
diff --git a/src/libltfs/arch/arch_info.c b/src/libltfs/arch/arch_info.c
index 179428f..114acf0 100644
--- a/src/libltfs/arch/arch_info.c
+++ b/src/libltfs/arch/arch_info.c
@@ -47,9 +47,6 @@
*/
#include "libltfs/ltfs.h"
-#ifndef mingw_PLATFORM
-#include <sys/sysctl.h>
-#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>