nixpkgs/pkgs/os-specific/linux/audit/fix-static.patch
Henri Rosten 50c40a8f6a audit: 2.8.5 -> 3.1
Signed-off-by: Henri Rosten <henri.rosten@unikie.com>
2023-04-12 13:00:22 +03:00

12 lines
278 B
Diff

--- a/auparse/auparse.h
+++ b/auparse/auparse.h
@@ -32,6 +32,9 @@
# define __attr_dealloc(dealloc, argno)
# define __attr_dealloc_free
#endif
+#ifndef __attribute_malloc__
+# define __attribute_malloc__ __attribute__ ((__malloc__))
+#endif
#ifdef __cplusplus
extern "C" {