components/openscap/patches/sce_engine.c.patch
author Jacob Varughese <jacob.varughese@oracle.com>
Fri, 13 Feb 2015 12:30:50 -0800
branchs11-update
changeset 3806 bdc70b98921a
permissions -rw-r--r--
PSARC/2014/441 OpenSCAP update to 1.2.0 and 3PSC 20002615 upgrade openscap to latest version 1.2.0 20465100 openscap needs to have ASLR enabled

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>