depot/third_party/nixpkgs/pkgs/os-specific/linux/audit/fix-static.patch
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

12 lines
No EOL
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" {