vios-proxy/unistd.patch
2012-06-14 13:44:23 -04:00

48 lines
1.2 KiB
Diff

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"