mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +03:00
(merge from 3.0)
Fix for debian Bug#225328 by LaMont Jones <lamont@debian.org>, where the failure of our LFS test on ia64 caused the _GNU_SOURCE define not to be added, causeing strndup() not to be defined... This was due to strdup() bein implicitly declared, and casting pointer->int->pointer. I'll into when we really should define _GNU_SOURCE shortly, but the fix is correct anyway. Andrew Bartlett
This commit is contained in:
parent
e9f584143d
commit
f1cf5b8aa9
@ -394,6 +394,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;
|
||||
|
Loading…
Reference in New Issue
Block a user