summaryrefslogtreecommitdiffstats
path: root/include/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'include/sysutils')
-rw-r--r--include/sysutils/NetlinkListener.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sysutils/NetlinkListener.h b/include/sysutils/NetlinkListener.h
index de0fc3c..beb8bda 100644
--- a/include/sysutils/NetlinkListener.h
+++ b/include/sysutils/NetlinkListener.h
@@ -28,7 +28,16 @@ public:
static const int NETLINK_FORMAT_ASCII = 0;
static const int NETLINK_FORMAT_BINARY = 1;
+#if 1
+ /* temporary version until we can get Motorola to update their
+ * ril.so. Their prebuilt ril.so is using this private class
+ * so changing the NetlinkListener() constructor breaks their ril.
+ */
+ NetlinkListener(int socket);
+ NetlinkListener(int socket, int format);
+#else
NetlinkListener(int socket, int format = NETLINK_FORMAT_ASCII);
+#endif
virtual ~NetlinkListener() {}
protected: