mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Only define _GNU_SOURCE if it's not defined yet.
This commit is contained in:
parent
fd3f3e68f2
commit
d7c7b31bba
@ -131,7 +131,9 @@ sub Parse($$$$)
|
||||
if (is_intree()) {
|
||||
$res .= "#include \"includes.h\"\n";
|
||||
} else {
|
||||
$res .= "#ifndef _GNU_SOURCE\n";
|
||||
$res .= "#define _GNU_SOURCE\n";
|
||||
$res .= "#endif\n";
|
||||
$res .= "#include <stdio.h>\n";
|
||||
$res .= "#include <stdbool.h>\n";
|
||||
$res .= "#include <stdlib.h>\n";
|
||||
|
Loading…
Reference in New Issue
Block a user