> int accept(int s, struct sockaddr *addr, int *addrlen);
>
> So AIX has the last parameter defined as size_t, huh?
Yes, and this is consistently done with all size parameters. (therefore also with fread, fwrite ...)
But only if _NONSTD_TYPES is not defined. I don't know where that would come from.
(it's not in any /usr/include header)
typedef unsigned long size_t;
#ifdef _NONSTD_TYPES
extern int fread();
#else
extern size_t fread(void *, size_t, size_t, FILE *);
#endif
Andreas