mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-25 11:26:22 +00:00
Merge pull request #5644 from nataliakokoromyti/upstream-linux-perf-unistd
Add unistd header for Linux
This commit is contained in:
commit
ac427a79b0
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ USING_YOSYS_NAMESPACE
|
||||||
PRIVATE_NAMESPACE_BEGIN
|
PRIVATE_NAMESPACE_BEGIN
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
#include <unistd.h>
|
||||||
struct LinuxPerf : public Pass {
|
struct LinuxPerf : public Pass {
|
||||||
LinuxPerf() : Pass("linux_perf", "turn linux perf recording off or on") {
|
LinuxPerf() : Pass("linux_perf", "turn linux perf recording off or on") {
|
||||||
internal();
|
internal();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue