summaryrefslogtreecommitdiff
path: root/deps/cares
diff options
context:
space:
mode:
Diffstat (limited to 'deps/cares')
-rw-r--r--deps/cares/cares.gyp4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/cares/cares.gyp b/deps/cares/cares.gyp
index 8a5239b412..745e38e33d 100644
--- a/deps/cares/cares.gyp
+++ b/deps/cares/cares.gyp
@@ -12,6 +12,10 @@
[ 'OS=="aix"', {
'include_dirs': [ 'config/aix' ],
'sources': [ 'config/aix/ares_config.h' ],
+ 'defines': [
+ # Support for malloc(0)
+ '_LINUX_SOURCE_COMPAT=1',
+ '_ALL_SOURCE=1'],
}],
['OS=="solaris"', {
'defines': [