depot/third_party/nixpkgs/pkgs/tools/backup/hpe-ltfs/remove-sysctl.patch
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

14 lines
349 B
Diff

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>