aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/socket/rubysocket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/rubysocket.h b/ext/socket/rubysocket.h
index 91b446d3a1..9724fcc403 100644
--- a/ext/socket/rubysocket.h
+++ b/ext/socket/rubysocket.h
@@ -4,7 +4,7 @@
#include "ruby/config.h"
#include RUBY_EXTCONF_H
-#ifdef __sun
+#if defined(__sun) || defined(_AIX)
/* (Recent?) Solaris' <nfs/nfs.h> have conflicting definition of T_DATA. Let
* us honour system definition by undefining ours.
*