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 <peter.colberg@intel.com>
  • Loading branch information
pcolberg committed Mar 4, 2024
1 parent 67840c5 commit b96e35c
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 b96e35c

Please sign in to comment.