>From 8615cf5c3d17e6625ec8b04ebafd4c91d57d7044 Mon Sep 17 00:00:00 2001 From: Michael Weiser Date: Mon, 22 Dec 2014 21:48:37 +0100 Subject: [PATCH] Fix strl{cat,cpy} prototype activation Include gpsd_config.h in gps.h so that prototypes for potentially missing library functions are correctly disabled when those functions aren't missing. Compile failures or warnings due to conflicting prototypes might ensue otherwise. --- gps.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gps.h b/gps.h index 16955bc..e1fd195 100644 --- a/gps.h +++ b/gps.h @@ -30,6 +30,8 @@ extern "C" { #include /* pacifies OpenBSD's compiler */ #endif +#include "gpsd_config.h" + /* * 4.1 - Base version for initial JSON protocol (Dec 2009, release 2.90) * 4.2 - AIS application IDs split into DAC and FID (July 2010, release 2.95) -- 2.2.0