From 55a760ddf3cd146ac68af1ff460d6a26ae209c04 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 9 Sep 2006 03:16:05 +0000 Subject: r18284: enable _XOPEN_SOURCE_EXTENDED to fix a HP-UX bug with the definition of sendfile() (This used to be commit 3e0f262b384b73183452aefabca93c01d53387a8) --- source4/lib/replace/libreplace.m4 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4') diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4 index 519b911de5..ef8087607e 100644 --- a/source4/lib/replace/libreplace.m4 +++ b/source4/lib/replace/libreplace.m4 @@ -18,6 +18,12 @@ AC_C_INLINE AC_PROG_CC AC_PROG_INSTALL +AH_VERBATIM([_XOPEN_SOURCE_EXTENDED], +[/* Enable XOPEN extensions on systems that have them. */ +#ifndef _XOPEN_SOURCE_EXTENDED +# define _XOPEN_SOURCE_EXTENDED 1 +#endif]) + LIBREPLACE_C99_STRUCT_INIT([],[]) AC_SYS_LARGEFILE -- cgit