From: Martin Pool Date: Tue, 15 Jan 2002 09:53:27 +0000 (+0000) Subject: Define _GNU_SOURCE so that we get all necessary prototypes. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/70ed474b3868def0f14623e2093494112b4b5b48?ds=sidebyside Define _GNU_SOURCE so that we get all necessary prototypes. --- diff --git a/configure.in b/configure.in index 2931927d..b5b5e9aa 100644 --- a/configure.in +++ b/configure.in @@ -22,6 +22,9 @@ AC_PROG_INSTALL AC_PROG_CC_STDC AC_SUBST(SHELL) +AC_DEFINE([_GNU_SOURCE], 1, + [Define _GNU_SOURCE so that we get all necessary prototypes]) + if test "$xac_cv_prog_cc_stdc" = xno then AC_MSG_WARN([rsync requires an ANSI C compiler and you don't seem to have one])