diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-03-04 18:33:01 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-03-04 18:33:01 +0000 |
commit | 466e153e221dc4cec7f33595a3b0d51b5d4f41ea (patch) | |
tree | ab364f89c0d25a5d7c3c2fbefc97b00ec76c9db9 | |
parent | d9797081b48084c906076ef879de8d0acfde63c0 (diff) | |
download | gpsd-466e153e221dc4cec7f33595a3b0d51b5d4f41ea.tar.gz |
Quiet down the compiler.
-rw-r--r-- | gpsd.c | 2 | ||||
-rw-r--r-- | packet.c | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -567,7 +567,7 @@ static bool allocation_filter(struct gps_device_t *channel, /* does specified channel match the user's type criteria? */ { gpsd_report(LOG_PROG, - "User requires %d, channel %d type is %d\n", + "User requires %d, channel %ld type is %d\n", user->requires, channel - channels, channel->packet.type); /* we might have type constraints */ if (user->requires == ANY) @@ -30,6 +30,9 @@ others apart and distinguish them from baud barf. #include <unistd.h> #include <string.h> #include <errno.h> +#include <netinet/in.h> /* for htons() */ +#include <arpa/inet.h> /* for htons() */ + #include "gpsd_config.h" #include "bits.h" #include "gpsd.h" |