diff options
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index 31632557..90743d72 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -9,6 +9,10 @@ * This file is Copyright (c) 2010 by the GPSD project * BSD terms apply: see the file COPYING in the distribution root for details. */ + +/* getsid() needs _XOPEN_SOURCE, 500 means X/Open 1995 */ +#define _XOPEN_SOURCE 500 + #include <time.h> #include <stdio.h> #include <stdlib.h> |