12 lines
382 B
Diff
12 lines
382 B
Diff
|
--- src/qmplay2/IPC_Unix.cpp.orig
|
||
|
+++ src/qmplay2/IPC_Unix.cpp
|
||
|
@@ -98,7 +98,7 @@
|
||
|
|
||
|
if (m_priv->fd > 0)
|
||
|
{
|
||
|
- const u_long on = 1;
|
||
|
+ const unsigned long on = 1;
|
||
|
ioctl(m_priv->fd, FIONBIO, &on);
|
||
|
m_priv->socketNotifier = new QSocketNotifier(m_priv->fd, QSocketNotifier::Read, this);
|
||
|
connect(m_priv->socketNotifier, SIGNAL(activated(int)), this, SLOT(socketReadActive()));
|