Hi Sam, > where is the prototype for the replacement getpagesize()?
It is in the generated <unistd.h> file. > it would make sense to include unistd.h, but it is not generated on win32. It should be generated on all platforms. modules/unistd contains the line BUILT_SOURCES += unistd.h which instructs automake and make to create the unistd.h file unconditionally, before invoking the C compiler on any compilation unit. > also, mingw already comes with a unistd.h (but it does not prototype > getpagesize there) gnulib's generated unistd.h will #include_next it. Bruno