diff --git a/component/pycrypto-python/buildout.cfg b/component/pycrypto-python/buildout.cfg
index 29f72915007e9c9ed8f539a1f2687712ed90c57e..2555803c4e556c03b73249178e295264aca3b563 100644
--- a/component/pycrypto-python/buildout.cfg
+++ b/component/pycrypto-python/buildout.cfg
@@ -19,6 +19,7 @@ rpath =
   ${gmp:location}/lib
 
 [pycrypto-python-env]
+ac_cv_func_malloc_0_nonnull = yes
 LDFLAGS = -L${gmp:location}/lib
 CPPFLAGS = -I${gmp:location}/include