Commit b7f47ff1 authored by Jussi Kukkonen's avatar Jussi Kukkonen

another forgotten #define for gpsbt

note to self: do not commit stuff that has not been built on all platforms...
parent d3a17958
......@@ -242,8 +242,8 @@ int main(int argc, char **argv)
#ifdef HAVE_LIBGPSBT
/* prepare for starting gpsd on systems using libgpsbt */
int st;
char errbuf[MAX_ERROR_BUF_LEN+1];
memset (errbuf, 0, MAX_ERROR_BUF_LEN+1);
char errbuf[GPSBT_MAX_ERROR_BUF_LEN+1];
memset (errbuf, 0, GPSBT_MAX_ERROR_BUF_LEN+1);
gpsbt_t bt_ctx = { {0} };
setenv ("GPSD_PROG", "/usr/sbin/gpsd", 1); /* hack to bypass maemo bug */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment