From 6a78fa292800adba07094bd5e06b0bb8a4fb8305 Mon Sep 17 00:00:00 2001 From: epoch Date: Sat, 20 Apr 2019 06:43:23 -0500 Subject: put _XOPEN_SOURCE only in the file it is actually needed. fixed parse bug where uris without a scheme were not defaulting provided line to an authority section --- uricut.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'uricut.c') diff --git a/uricut.c b/uricut.c index 5fe8764..3c0359c 100644 --- a/uricut.c +++ b/uricut.c @@ -1,8 +1,9 @@ +#define _XOPEN_SOURCE 500 +#include #include "uri.h" #include #include -#include #include #include #include -- cgit v1.2.3