summaryrefslogtreecommitdiff
path: root/src/CommonAPI/DBus/DBusMainLoopContext.cpp
diff options
context:
space:
mode:
authorStefan Laner <laner@itestra.de>2014-02-05 17:28:34 +0100
committerStefan Laner <laner@itestra.de>2014-02-05 17:28:34 +0100
commit82abf1b68bf0c33eb5b8d394fa1583ec70b89b45 (patch)
tree06f2977045194ecbe3a1d4b626999d78895a7e9f /src/CommonAPI/DBus/DBusMainLoopContext.cpp
parent1b2b5bc8d3eb5e9cb02d05172a232467026b6f9d (diff)
downloadgenivi-common-api-dbus-runtime-maintain/2.0.tar.gz
removed poll emulation for windows2.0.9maintain/2.0
Diffstat (limited to 'src/CommonAPI/DBus/DBusMainLoopContext.cpp')
-rwxr-xr-xsrc/CommonAPI/DBus/DBusMainLoopContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CommonAPI/DBus/DBusMainLoopContext.cpp b/src/CommonAPI/DBus/DBusMainLoopContext.cpp
index e4df446..a7ea1a3 100755
--- a/src/CommonAPI/DBus/DBusMainLoopContext.cpp
+++ b/src/CommonAPI/DBus/DBusMainLoopContext.cpp
@@ -10,7 +10,7 @@
#include "DBusConnection.h"
#ifdef WIN32
-#include <CommonAPI/pollStructures.h>
+#include <WinSock2.h>
#else
#include <poll.h>
#endif
@@ -77,7 +77,7 @@ void DBusWatch::stopWatching() {
lockedContext->deregisterWatch(this);
}
-const COMMONAPI_POLLFD& DBusWatch::getAssociatedFileDescriptor() {
+const pollfd& DBusWatch::getAssociatedFileDescriptor() {
return pollFileDescriptor_;
}