*** src/uname.c.ORIG Mon Jun 23 10:10:14 2008 --- src/uname.c Mon Jun 23 10:15:42 2008 *************** *** 50,55 **** --- 50,59 ---- # include #endif + #ifdef _AIX + #include + #endif + #include "system.h" #include "error.h" #include "quote.h" *************** *** 311,316 **** --- 315,334 ---- if (0 <= sysinfo (SI_ARCHITECTURE, processor, sizeof processor)) element = processor; } + #endif + #ifdef _AIX + switch (_system_configuration.architecture) + { + case POWER_RS: + element = "power"; + break; + case POWER_PC: + element = "powerpc"; + break; + case IA64: + element = "ia64"; + break; + } #endif #ifdef UNAME_PROCESSOR if (element == unknown)