diff --git a/ase/test/awk/awk.c b/ase/test/awk/awk.c index e928b6b1..65f36690 100644 --- a/ase/test/awk/awk.c +++ b/ase/test/awk/awk.c @@ -1,5 +1,5 @@ /* - * $Id: awk.c,v 1.171 2007-02-20 14:45:48 bacon Exp $ + * $Id: awk.c,v 1.172 2007-02-21 03:49:01 bacon Exp $ */ #include @@ -45,6 +45,13 @@ struct awk_src_io FILE* input_handle; }; +#if defined(vms) || defined(__vms) +/* it seems that the main function should be placed in the main object file + * in OpenVMS. otherwise, the first function in the main object file seems + * to become the main function resulting in the failed program start-up */ +#include +#endif + static ase_real_t awk_pow (ase_real_t x, ase_real_t y) { return pow (x, y);