summaryrefslogtreecommitdiff
path: root/lib/common/WaitForEvent.cpp
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2009-01-22 17:00:58 +0100
committerReinhard Tartler <siretart@tauware.de>2009-01-22 17:00:58 +0100
commit4d6fbb4293310d8b26dc3ab1c7758de963c87f74 (patch)
treefa23a68a9b1fb4578c51c1ee06c89535a583a5a2 /lib/common/WaitForEvent.cpp
parent4b83954e9c06a29ac6079d95e0cff30a26422389 (diff)
more include fixes
Diffstat (limited to 'lib/common/WaitForEvent.cpp')
-rw-r--r--lib/common/WaitForEvent.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/WaitForEvent.cpp b/lib/common/WaitForEvent.cpp
index f922fe86..1f3a67d0 100644
--- a/lib/common/WaitForEvent.cpp
+++ b/lib/common/WaitForEvent.cpp
@@ -104,7 +104,7 @@ WaitForEvent::~WaitForEvent()
#else
if(mpPollInfo != 0)
{
- std::free(mpPollInfo);
+ ::free(mpPollInfo);
mpPollInfo = 0;
}
#endif
@@ -180,7 +180,7 @@ void *WaitForEvent::Wait()
if(mpPollInfo == 0)
{
// Yes...
- mpPollInfo = (struct pollfd *)std::malloc((sizeof(struct pollfd) * mItems.size()) + 4);
+ mpPollInfo = (struct pollfd *)::malloc((sizeof(struct pollfd) * mItems.size()) + 4);
if(mpPollInfo == 0)
{
throw std::bad_alloc();