I'm having a *lot* of trouble making mh 6.8.3 for AIX 4.3.2 -
at the moment, mts.c isn't compiling what _looks_ like perfectly
legit code:
/bin/cc -DATHENA -DATTVIBUG -DBIND -DDBMPWD -DDUMB -DFLOCK -DFOLDPROT='"700"' -DMHE -DMHRC -DMIME -DMSGID -DMSGPROT='"600"' -DOVERHEAD -DRENAME -DRPATHS -DSBACKUP='"\043"' -DSYS5 -DSYS5DIR -DTERMINFO -DTZNAME -DSENDMTS -DSMTP -DTYPESIG=void -O -I.. -c mts.c
"/usr/include/unistd.h", line 162.14: 1506-343 (S) Redeclaration of getuid differs from previous declaration on line 489 of "mts.c".
"/usr/include/unistd.h", line 162.14: 1506-050 (I) Return type "unsigned int" in redeclaration is not compatible with the previous return type "int".
The line it's whining about seems to be
if ((pw = getpwuid (getuid())) == NULL
|| pw -> pw_name == NULL
|| *pw -> pw_name == NULL)
I don't see any "redeclaration" of getuid there...
Any ideas? I _must_ just be missing something, but what?
Thanks.
Pat Wilson