No need to modify embed.h.
Patch attached to get a snipped that compileds without the
#include "parrot/parrot.h"
--
stef
--- docs/embed.pod.orig 2004-11-08 10:48:59.000000000 +0100
+++ docs/embed.pod 2004-11-08 20:42:57.209202168 +0100
@@ -7,7 +7,6 @@
=head1 SYNOPSIS
- #include "parrot/parrot.h"
#include "parrot/embed.h"
int main(int argc, char *argv[]) {
@@ -17,7 +16,7 @@
argc--; argv++; /* skip the program name */
- interp=Parrot_new(NULL);
+ interp=Parrot_new(0);
Parrot_init(interp);
if(PARROT_JIT_CAPABLE) {