depot/third_party/nixpkgs/pkgs/os-specific/linux/audit/fix-static.patch

12 lines
278 B
Diff
Raw Normal View History

--- 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" {