syscall-emul: Hotfix for FreeBSD/Mac builds
authorBrandon Potter <Brandon.Potter@amd.com>
Sun, 29 Jan 2017 12:22:33 +0000 (12:22 +0000)
committerBrandon Potter <Brandon.Potter@amd.com>
Fri, 17 Mar 2017 18:40:33 +0000 (18:40 +0000)
commitfcf94310eb9a6cf17cc70724f5ef81932946997f
treec77c240dd7dea9159eb02996aa65bee9a1b5f989
parent1991ff3bb26f89d869a098db33d87c15bcb9678e
syscall-emul: Hotfix for FreeBSD/Mac builds

The clone system call added in 236719892 relies on header files
from Linux systems. Obviously, this prevents compilation for
anyone using FreeBSD or Mac to compile the simulator. This
changeset is meant as a temporary fix to allow builds on
non-Linux systems until a proper solution is found.

Change-Id: I404cc41c588ed193dd2c1ca0c1aea35b0786fe4e
Reviewed-on: https://gem5-review.googlesource.com/2420
Maintainer: Brandon Potter <Brandon.Potter@amd.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
src/sim/process.cc