summaryrefslogtreecommitdiffstats
path: root/generator
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-11-03 12:52:24 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-11-03 13:15:19 +0000
commit9ff99418361cd1b56b00e4ffef52444021e60c72 (patch)
treee89a696bec6b0fc3702017ba020964d3e4f0587d /generator
parentc5a6584c4fcc0051e1a333838d7562a4fba7ad1f (diff)
downloadlibguestfs-9ff99418361cd1b56b00e4ffef52444021e60c72.tar.gz
libguestfs-9ff99418361cd1b56b00e4ffef52444021e60c72.tar.xz
libguestfs-9ff99418361cd1b56b00e4ffef52444021e60c72.zip
daemon: Don't use ../src path to include generator_protocol.h
This file is already hard-linked into the current directory, so the relative path is not required.
Diffstat (limited to 'generator')
-rw-r--r--generator/generator_daemon.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/generator/generator_daemon.ml b/generator/generator_daemon.ml
index 9d9fb0c1..df9f965a 100644
--- a/generator/generator_daemon.ml
+++ b/generator/generator_daemon.ml
@@ -33,7 +33,7 @@ open Generator_c
let generate_daemon_actions_h () =
generate_header CStyle GPLv2plus;
- pr "#include \"../src/guestfs_protocol.h\"\n";
+ pr "#include \"guestfs_protocol.h\"\n";
pr "\n";
List.iter (
@@ -58,7 +58,7 @@ and generate_daemon_actions () =
pr "\n";
pr "#include \"daemon.h\"\n";
pr "#include \"c-ctype.h\"\n";
- pr "#include \"../src/guestfs_protocol.h\"\n";
+ pr "#include \"guestfs_protocol.h\"\n";
pr "#include \"actions.h\"\n";
pr "\n";