summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-05-10 17:42:35 +0200
committerMichael Stahl <mstahl@redhat.com>2013-05-10 17:56:24 +0200
commit09373d45838e4dab514e37dee4a4c8f6218ebda0 (patch)
tree91381d15cb0c7b29072c79a30eee7fd0d8635768 /sd
parentEnable building OpenSSL for OS X (diff)
downloadcore-09373d45838e4dab514e37dee4a4c8f6218ebda0.tar.gz
core-09373d45838e4dab514e37dee4a4c8f6218ebda0.zip
soltools: remove Package_inc and empty unistd.h nonsense
Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/inc/RemoteServer.hxx2
-rw-r--r--sd/source/ui/remotecontrol/Communicator.hxx2
-rw-r--r--sd/source/ui/remotecontrol/DiscoveryService.hxx2
3 files changed, 6 insertions, 0 deletions
diff --git a/sd/source/ui/inc/RemoteServer.hxx b/sd/source/ui/inc/RemoteServer.hxx
index bc1e7c556576..60c9b18f4d48 100644
--- a/sd/source/ui/inc/RemoteServer.hxx
+++ b/sd/source/ui/inc/RemoteServer.hxx
@@ -12,7 +12,9 @@
// SERVER
#include <stdio.h>
#include <stdlib.h>
+#ifndef _WIN32
#include <unistd.h>
+#endif
#include <sys/types.h>
#include <vector>
diff --git a/sd/source/ui/remotecontrol/Communicator.hxx b/sd/source/ui/remotecontrol/Communicator.hxx
index 7883401eff65..8e1b76c39f73 100644
--- a/sd/source/ui/remotecontrol/Communicator.hxx
+++ b/sd/source/ui/remotecontrol/Communicator.hxx
@@ -10,7 +10,9 @@
#define _SD_IMPRESSREMOTE_COMMUNICATOR_HXX
#include <stdlib.h>
+#ifndef _WIN32
#include <unistd.h>
+#endif
#include <sys/types.h>
#include <vector>
diff --git a/sd/source/ui/remotecontrol/DiscoveryService.hxx b/sd/source/ui/remotecontrol/DiscoveryService.hxx
index eafca4160b6f..b47f04904df4 100644
--- a/sd/source/ui/remotecontrol/DiscoveryService.hxx
+++ b/sd/source/ui/remotecontrol/DiscoveryService.hxx
@@ -11,7 +11,9 @@
#include <stdio.h>
#include <stdlib.h>
+#ifndef _WIN32
#include <unistd.h>
+#endif
#include <sys/types.h>
#include <osl/socket.hxx>