sim-se: correct statfs inclusion on !linux host
authorAndrea Mondelli <Andrea.Mondelli@ucf.edu>
Sat, 4 May 2019 13:43:24 +0000 (09:43 -0400)
committerBrandon Potter <Brandon.Potter@amd.com>
Mon, 6 May 2019 18:20:44 +0000 (18:20 +0000)
commit7a00e9d186f4b1ad463b9e0adf46cbfbe9f0d87b
tree1a1cc0c5427e0aa36813c7187c2c3f60feca8f21
parent53e74695ac28e02d10594af0ef6afff6536a0d35
sim-se: correct statfs inclusion on !linux host

- Added missing header
- Fixed typo on __linux__ macro conditional
- s/ifdef/if defined/g for consistency

Change-Id: I83b69856e5ec8b23b707642c0e14216cf62db31e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18668
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/sim/syscall_emul.cc
src/sim/syscall_emul.hh