Fix build with --enable-selective-werror. Signed-off-by: James R Larrowe <larrowe.sema...@gmail.com> --- src/OS.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/src/OS.c b/src/OS.c index 4c69005..cd0c517 100644 --- a/src/OS.c +++ b/src/OS.c @@ -37,6 +37,9 @@ _XawGetPageSize(void) #endif #ifdef HAVE_GETPAGESIZE +# if defined(_WIN32) +extern int getpagesize(void); +# endif if (pagesize == -1) pagesize = getpagesize(); #endif -- 2.11.0 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel