[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compiling m4 on RHEL6 beta

From: Todd Rinaldo
Subject: compiling m4 on RHEL6 beta
Date: Thu, 27 May 2010 14:23:39 -0500

Today, I ran into an issue compiling m4 on RHEL6 beta. I had to apply this 
patch to make it work or I got errors about S_ISDIR not being defined during 
linking. Any ideas why this was an issue?

diff --git a/src/path.c b/src/path.c
index 682969d..e5870ae 100644
--- a/src/path.c
+++ b/src/path.c
@@ -22,6 +22,7 @@
 /* Handling of path search of included files via the builtins "include"
    and "sinclude".  */
+#include "sys/stat.h"
 #include "m4.h"
 struct includes

reply via email to

[Prev in Thread] Current Thread [Next in Thread]