diff options
Diffstat (limited to 'driver_tsip.c')
-rw-r--r-- | driver_tsip.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/driver_tsip.c b/driver_tsip.c index 5e09433b..c87a1064 100644 --- a/driver_tsip.c +++ b/driver_tsip.c @@ -12,6 +12,11 @@ * This file is Copyright (c) 2010 by the GPSD project * BSD terms apply: see the file COPYING in the distribution root for details. */ + +/* if we insist on C99, then we need this to get M_LN2 from math.h */ +/* 500 mean X/Open 1995 */ +#define _XOPEN_SOURCE 500 + #include <sys/time.h> /* for select() */ #include <string.h> #include <stdio.h> |