Skip to content

Commit

Permalink
opae.io: include unistd.h
Browse files Browse the repository at this point in the history
This is needed for pread() and pwrite(). The missing header became
apparent due to a build failure with Python 3.13.0a1 which no longer
included unistd.h itself, but that change has since been reverted.

Link: https://bugzilla.redhat.com/2247016
Signed-off-by: Peter Colberg <[email protected]>
  • Loading branch information
pcolberg committed Mar 4, 2024
1 parent 67840c5 commit 4522814
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions binaries/opae.io/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#pragma once

#include <iostream>
#include <unistd.h>
#include <sys/ioctl.h>
#include <opae/vfio.h>

Expand Down

0 comments on commit 4522814

Please sign in to comment.