summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--methods/aptmethod.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/methods/aptmethod.h b/methods/aptmethod.h
index ea75f4848..5616ad824 100644
--- a/methods/aptmethod.h
+++ b/methods/aptmethod.h
@@ -199,7 +199,9 @@ protected:
ALLOW(stat64);
ALLOW(statfs);
ALLOW(statfs64);
+#ifdef __NR_statx
ALLOW(statx);
+#endif
ALLOW(sync);
ALLOW(syscall);
ALLOW(time);