commit 98f433a16efecf741318e891df2cae36f47b048f
Author: Chuck Rolke <crolke(a)redhat.com>
Date: Sat Jun 9 18:34:33 2012 -0400
BZ822583 compile fails under gcc 4.7.0
src/vios_gchannel.cpp | 1 +
src/vios_ghost.cpp | 1 +
src/vios_hchannel.cpp | 1 +
src/vios_hguest.cpp | 1 +
4 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/vios_gchannel.cpp b/src/vios_gchannel.cpp
index 0b05b71..73f5b67 100644
--- a/src/vios_gchannel.cpp
+++ b/src/vios_gchannel.cpp
@@ -25,6 +25,7 @@
#include <errno.h>
#include <fcntl.h>
#include <memory.h>
+#include <unistd.h>
#include "vios_gchannel.h"
#include "vios_framing.h"
diff --git a/src/vios_ghost.cpp b/src/vios_ghost.cpp
index 9be2291..8047d30 100644
--- a/src/vios_ghost.cpp
+++ b/src/vios_ghost.cpp
@@ -31,6 +31,7 @@
#include <sys/time.h>
#include <sys/param.h>
#include <signal.h>
+#include <unistd.h>
#include "vios_ghost.h"
#include "vios_gchannel.h"
diff --git a/src/vios_hchannel.cpp b/src/vios_hchannel.cpp
index d75356a..6ca069c 100644
--- a/src/vios_hchannel.cpp
+++ b/src/vios_hchannel.cpp
@@ -23,6 +23,7 @@
#include <fcntl.h>
#include <memory.h>
#include <sys/un.h>
+#include <unistd.h>
#include "vios_hchannel.h"
#include "vios_hguest.h"
diff --git a/src/vios_hguest.cpp b/src/vios_hguest.cpp
index d255388..2061bfb 100644
--- a/src/vios_hguest.cpp
+++ b/src/vios_hguest.cpp
@@ -29,6 +29,7 @@
#include <sys/time.h>
#include <sys/param.h>
#include <signal.h>
+#include <unistd.h>
#include "vios_hguest.h"
#include "vios_hchannel.h"