To avoid build errors relating to missing delcarations of ssize_t add the appripriote header file to atomic.h.
Signed-off-by: Alistair Francis <alistair.fran...@xilinx.com> --- tools/blktap2/include/atomicio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/blktap2/include/atomicio.h b/tools/blktap2/include/atomicio.h index 7eccf20..5a1120e 100644 --- a/tools/blktap2/include/atomicio.h +++ b/tools/blktap2/include/atomicio.h @@ -25,6 +25,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include <sys/types.h> + /* * Ensure all of data on socket comes through. f==read || f==vwrite */ -- 2.7.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel