Hi All,
Could you please review the attached patch. We are preparing to
integrate a version of the fts_* functions into libc
to assist in porting FOSS applications to Solaris. We need this patch
to get it to work.
Thank you,
Jacob.
>From 4750204f231a5c6ee04bc13c91af6f3df62a2637 Mon Sep 17 00:00:00 2001
From: Jacob Varughese <jacob.varugh...@oracle.com>
Date: Wed, 16 Mar 2016 12:27:46 -0700
Subject: [PATCH] Fixed for solaris to use fts_
---
src/OVAL/fts_sun.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/OVAL/fts_sun.h b/src/OVAL/fts_sun.h
index 419e1f5..b085e5e 100644
--- a/src/OVAL/fts_sun.h
+++ b/src/OVAL/fts_sun.h
@@ -248,5 +248,9 @@ int fts_set (FTS * sp, FTSENT * p, int instr) __THROW
__END_DECLS
#endif /* fts.h */
+#else
+#if defined(__SVR4) && defined(__sun)
+#include <fts.h>
+#endif /* defined(__SVR4) && defined(__sun) */
#endif /* HAVE_FTS_OPEN */
--
2.6.1
_______________________________________________
Open-scap-list mailing list
Open-scap-list@redhat.com
https://www.redhat.com/mailman/listinfo/open-scap-list