e675508676
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11709 3c298f89-4303-0410-b956-a3cf2f4a3e73
27 lines
548 B
Diff
27 lines
548 B
Diff
--- a/gpsd.c
|
|
+++ b/gpsd.c
|
|
@@ -42,6 +42,7 @@
|
|
#include <locale.h>
|
|
#endif
|
|
|
|
+#undef DBUS_ENABLE
|
|
#ifdef DBUS_ENABLE
|
|
#include <gpsd_dbus.h>
|
|
#endif
|
|
@@ -297,6 +298,7 @@
|
|
* This array fills from the bottom, so as an extreme case you could
|
|
* reduce LIMITED_MAX_DEVICES to 1.
|
|
*/
|
|
+#define LIMITED_MAX_DEVICES 1
|
|
#ifdef LIMITED_MAX_DEVICES
|
|
#define MAXDEVICES LIMITED_MAX_DEVICES
|
|
#else
|
|
@@ -304,6 +306,7 @@
|
|
#define MAXDEVICES 4
|
|
#endif
|
|
|
|
+#define LIMITED_MAX_CLIENTS 16
|
|
#ifdef LIMITED_MAX_CLIENTS
|
|
#define MAXSUBSCRIBERS LIMITED_MAX_CLIENTS
|
|
#else
|