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' have conflicting definition of T_DATA. Let * us honour system definition by undefining ours. *