compiling m4 on RHEL6 beta
Todd Rinaldo <[email protected]> Thu, 27 May 2010 14:23:39 -0500
| Newsgroups | gmane.comp.gnu.m4.bugs,gmane.comp.gnu.m4.patches |
|---|---|
| Message-ID | <[email protected]> |
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