Index: aix-thread.c =================================================================== RCS file: /cvs/src/src/gdb/aix-thread.c,v retrieving revision 1.72 diff -u -r1.72 aix-thread.c --- aix-thread.c 1 Jan 2010 07:31:29 -0000 1.72 +++ aix-thread.c 24 Feb 2010 12:46:26 -0000 @@ -647,9 +647,11 @@ pthdb_tid_t ktid = 0; int result = 0; +#if !defined(_AIX51) && !defined(_AIX61) /* getthrds(3) isn't prototyped in any AIX 4.3.3 #include file. */ extern int getthrds (pid_t, struct thrdsinfo64 *, int, pthdb_tid_t *, int); +#endif while (1) {