mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
12 lines
278 B
Diff
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" {
|