summaryrefslogtreecommitdiffstats
path: root/generator
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-09-15 12:22:44 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-09-15 12:22:44 +0100
commitcd8976a5b52425f9d7c45249e1a593a341d91c52 (patch)
treecf7e37056d7bc4ce695bb6a29bfc9b435881ff49 /generator
parent188b44ee458a666bee8a18ed47cccdec25859aff (diff)
downloadlibguestfs-cd8976a5b52425f9d7c45249e1a593a341d91c52.tar.gz
libguestfs-cd8976a5b52425f9d7c45249e1a593a341d91c52.tar.xz
libguestfs-cd8976a5b52425f9d7c45249e1a593a341d91c52.zip
perl: Add <stdio.h> and <stdlib.h> for printf and malloc.
Diffstat (limited to 'generator')
-rw-r--r--generator/perl.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/generator/perl.ml b/generator/perl.ml
index d98028a1..11405988 100644
--- a/generator/perl.ml
+++ b/generator/perl.ml
@@ -37,6 +37,8 @@ let rec generate_perl_xs () =
pr "\
#include <config.h>
+#include <stdio.h>
+#include <stdlib.h>
#include <inttypes.h>
#include \"EXTERN.h\"