aboutsummaryrefslogtreecommitdiffstats
path: root/package/strace/strace-undef-CTL_PROC.patch
blob: d841999d295b2a1e7e43e772e1bb8b4b44951ce6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- 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" },