summaryrefslogtreecommitdiff
path: root/plugins/iwmx.h
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-10-08 13:05:47 +0900
committerMarcel Holtmann <marcel@holtmann.org>2009-10-10 14:40:28 +0200
commit3f97b2d8aa4f0633249fa3b1b8499de929d70b37 (patch)
treee32e932840f83eded8e918e0893aa3c69f9ad123 /plugins/iwmx.h
parent9856478957f315b63cd273d8d76589bb38daf2de (diff)
downloadconnman-3f97b2d8aa4f0633249fa3b1b8499de929d70b37.tar.gz
connman-3f97b2d8aa4f0633249fa3b1b8499de929d70b37.tar.bz2
connman-3f97b2d8aa4f0633249fa3b1b8499de929d70b37.zip
Fix more WiMAX SDK API compat breakage from 1.4 to 1.5
These deal with types that were messed up in the version iteration. These are autoconf checks plus stubs in iwmx.h.
Diffstat (limited to 'plugins/iwmx.h')
-rw-r--r--plugins/iwmx.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/plugins/iwmx.h b/plugins/iwmx.h
index 265c00cc..02b4f5b1 100644
--- a/plugins/iwmx.h
+++ b/plugins/iwmx.h
@@ -19,6 +19,24 @@
*
*/
+/* Fix source compat brakage from 1.4 to 1.5...*/
+#ifndef HAVE_WIMAX_API_DEVICE_ID
+typedef struct WIMAX_API_DEVICE_ID WIMAX_API_DEVICE_ID;
+#endif
+
+#ifndef HAVE_WIMAX_API_CONNECTED_NSP_INFO
+typedef struct WIMAX_API_CONNECTED_NSP_INFO WIMAX_API_CONNECTED_NSP_INFO;
+#endif
+
+#ifndef HAVE_WIMAX_API_NSP_INFO_EX
+typedef struct WIMAX_API_NSP_INFO_EX WIMAX_API_NSP_INFO_EX;
+#endif
+
+#ifndef HAVE_WIMAX_API_HW_DEVICE_ID
+typedef struct WIMAX_API_HW_DEVICE_ID WIMAX_API_HW_DEVICE_ID;
+#endif
+
+
/*
*
* The plugin is broken in two main parts: the glue to connman
@@ -73,7 +91,7 @@
*/
struct wmxsdk {
- struct WIMAX_API_DEVICE_ID device_id;
+ WIMAX_API_DEVICE_ID device_id;
struct connman_device *dev;
GStaticMutex network_mutex;