git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use AC_GNU_SOURCE in daemon. Don't need _GNU_SOURCE in C files any more.
[libguestfs.git]
/
src
/
generator.ml
diff --git
a/src/generator.ml
b/src/generator.ml
index
d2be559
..
29b0ecd
100755
(executable)
--- a/
src/generator.ml
+++ b/
src/generator.ml
@@
-2560,7
+2560,7
@@
and generate_daemon_actions_h () =
and generate_daemon_actions () =
generate_header CStyle GPLv2;
- pr "#
define _GNU_SOURCE // for strchrnul
\n";
+ pr "#
include <config.h>
\n";
pr "\n";
pr "#include <stdio.h>\n";
pr "#include <stdlib.h>\n";