kumquat-buildroot/package/strace/strace-undef-CTL_PROC.patch

13 lines
304 B
Diff
Raw Normal View History

--- a/system.c
+++ b/system.c
@@ -1614,7 +1614,9 @@ static const struct xlat sysctl_root[] =
{ CTL_KERN, "CTL_KERN" },
{ CTL_VM, "CTL_VM" },
{ CTL_NET, "CTL_NET" },
+#ifdef CTL_PROC
{ CTL_PROC, "CTL_PROC" },
+#endif
{ CTL_FS, "CTL_FS" },
{ CTL_DEBUG, "CTL_DEBUG" },
{ CTL_DEV, "CTL_DEV" },