From: Miroslav Lichvar Date: Fri, 11 Feb 2011 16:31:38 +0000 (+0100) Subject: Fix compiler warnings in PPS configure test X-Git-Tag: 1.25-pre2~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b02d4092f1db77aab2a2edd9e5455f5a05a4d880;p=thirdparty%2Fchrony.git Fix compiler warnings in PPS configure test --- diff --git a/configure b/configure index 9f5eda75..718c13d0 100755 --- a/configure +++ b/configure @@ -4,6 +4,7 @@ # chronyd/chronyc - Programs for keeping computer clocks accurate. # # Copyright (C) Richard P. Curnow 1997-2003 +# Copyright (C) Miroslav Lichvar 2009 # # ======================================================================= @@ -350,11 +351,11 @@ then fi if [ $feat_pps = "1" ] && \ - test_code 'PPS API' 'timepps.h' '' '' ' + test_code 'PPS API' 'string.h timepps.h' '' '' ' pps_handle_t h; pps_info_t i; struct timespec ts; - return time_pps_fetch(&h, PPS_TSFMT_TSPEC, &i, &ts);' + return time_pps_fetch(h, PPS_TSFMT_TSPEC, &i, &ts);' then SYSDEFS="${SYSDEFS} -DHAVE_PPSAPI" fi