components/openscap/patches/sce_engine.c.patch
author Jacob Varughese <jacob.varughese@oracle.com>
Wed, 07 Jan 2015 11:38:53 -0800
changeset 3595 3fab3649e6cd
permissions -rw-r--r--
PSARC/2014/441 OpenSCAP update to 1.2.0 and 3PSC 20002615 upgrade openscap to latest version 1.2.0

This patch fix is required to port this file to solaris.
This patch has not been submitted upstream, but is intended to by
2015-Jan-31.
--- openscap-1.1.1/src/SCE/sce_engine.c.~1~	2014-10-27 14:47:43.904868342 -0700
+++ openscap-1.1.1/src/SCE/sce_engine.c	2014-10-27 14:49:29.343125585 -0700
@@ -45,7 +45,9 @@
 #include <assert.h>
 #include <fcntl.h>
 #include <sys/types.h>
+#if defined(__linux__)
 #include <sys/prctl.h>
+#endif
 #include <limits.h>
 #include <unistd.h>