# New Ticket Created by  Andy Dougherty 
# Please include the string:  [perl #31673]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31673 >


languages/m4/src/eval.c includes a header <error.h>.  My Solaris 8 system
doesn't have such a header.  Nor can I figure what it is needed for in
this file.  Accordingly, I have added an appropriate #ifdef.  If it turns
out that someone actually needs this header, then the appropriate probe
should be added to Configure.pl.

diff -r -u parrot-current/languages/m4/src/eval.c parrot-andy/languages/m4/src/eval.c
--- parrot-current/languages/m4/src/eval.c      Sat Jul 10 11:00:10 2004
+++ parrot-andy/languages/m4/src/eval.c Wed Sep 22 12:50:20 2004
@@ -20,7 +20,9 @@

 #include <stdlib.h>
 #include <stdio.h>
-#include <error.h>
+#ifdef PARROT_HAS_HEADER_ERROR    /* Not tested by Configure.pl yet */
+#  include <error.h>
+#endif
 #include <ctype.h>
 typedef int boolean;
 int warning_status;

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to