1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Fix for debian Bug#225328 by LaMont Jones <lamont@debian.org>, where

the failure of our LFS test caused the _GNU_SOURCE define not to be
added, causeing strndup() not to be defined...

I'll into when we really should define _GNU_SOURCE shortly, but the
fix is correct anyway.

Andrew Bartlett
(This used to be commit aca07f33a2)
This commit is contained in:
Andrew Bartlett 2004-01-22 10:12:26 +00:00
parent fc33274a27
commit 8975dde004

View File

@ -493,6 +493,8 @@ exit(1);
AC_TRY_RUN([
#include <unistd.h>
#include <sys/utsname.h>
#include <string.h>
#include <stdlib.h>
main() {
#if _LFS64_LARGEFILE == 1
struct utsname uts;