summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-04-23 18:51:12 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-04-23 18:51:12 +0100
commit6eaa49faddeef5ec086ad7c58e0cd591fb4400dc (patch)
tree5ae195f68181d792055042f4ec4722c6f823a0e9 /src
parentb18961055531f0107ed4f62c0d2f28e4ac1270e0 (diff)
downloadlibguestfs-6eaa49faddeef5ec086ad7c58e0cd591fb4400dc.tar.gz
libguestfs-6eaa49faddeef5ec086ad7c58e0cd591fb4400dc.tar.xz
libguestfs-6eaa49faddeef5ec086ad7c58e0cd591fb4400dc.zip
Use AC_GNU_SOURCE in daemon. Don't need _GNU_SOURCE in C files any more.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/generator.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generator.ml b/src/generator.ml
index d2be559e..29b0ecd7 100755
--- 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";