From b88e4dd3c6f5cf6e825a5a269669e703408fdb4d Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Fri, 3 Mar 2017 00:23:56 -0800
Subject: [PATCH] build: fix libstdbuf build on AIX 7
* src/libstdbuf.c: undef malloc so as libstdbuf is
not linked with gnulib, and anyway the replacement is
never needed since we never malloc(0).
Reported by Assaf Gordon.
---
src/libstdbuf.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/libstdbuf.c b/src/libstdbuf.c
index 2abb0f8ead..e295cc8122 100644
--- a/src/libstdbuf.c
+++ b/src/libstdbuf.c
@@ -20,6 +20,11 @@
#include