From 70ed474b3868def0f14623e2093494112b4b5b48 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Tue, 15 Jan 2002 09:53:27 +0000 Subject: [PATCH] Define _GNU_SOURCE so that we get all necessary prototypes. --- configure.in | 3 +++ 1 file changed, 3 insertions(+) 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]) -- 2.34.1