1 From c7a6bf126c17e997428ee925aad62b2fd70dc316 Mon Sep 17 00:00:00 2001
2 From: Dave Taht <dave.taht@bufferbloat.net>
3 Date: Fri, 13 Apr 2012 23:14:06 -0700
4 Subject: [PATCH] _XOPEN_SOURCE breaks CLOCK_REALTIME in uclibc
6 Since you can't tell what library you are using...
7 until after you include features.h
8 which after you would set _XOPEN_SOURCE
9 and if you set _XOPEN_SOURCE you can't re-include features.h
10 we have a recursive dependency.
12 I have no idea how to handle this, so I'll just carry a patch
16 1 files changed, 0 insertions(+), 4 deletions(-)
18 diff --git a/gpsutils.c b/gpsutils.c
19 index 60c4ae9..95ab456 100644
23 * BSD terms apply: see the file COPYING in the distribution root for details.
26 -/* The strptime prototype is not provided unless explicitly requested.
27 - * So add the define that POSIX says to to avoid: */
28 -#define _XOPEN_SOURCE