base: include header file for FreeBSD
Review Request #2729 - Created April 9, 2015 and submitted
| Information | |
|---|---|
| Ruslan Bukin | |
| gem5 | |
| Reviewers | |
| Default | |
include unistd.h for sync()
tested on FreeBSD
Ship It!
Posted (April 13, 2015, 9:31 a.m.)
Actually the Linux man page also says sync() is in unistd.h, so we must just be getting lucky there. We should just add the include unconditionally (i.e., get rid of the ifdef).
