From 0b13fde2ed08abc2ddea18df2344b842f9f44b3d Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Fri, 29 May 2020 23:55:25 +0200 Subject: Fix implicit-declaration for realpath --- Makefile | 2 +- po/messages.pot | 4 ++-- uri.c | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f371a28..9cd4d96 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ EXE_test = uri_test TRANS = fr.mo pt_BR.mo DOCS = usr.bin.badwolf README.md KnowledgeBase.md interface.txt -CDEPS = -DDATADIR=\"$(DATADIR)\" -DPACKAGE=\"$(PACKAGE)\" -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION_FULL)\" +CDEPS = -DDATADIR=\"$(DATADIR)\" -DPACKAGE=\"$(PACKAGE)\" -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION_FULL)\" CDEPS += `$(PKGCONFIG) --cflags $(DEPS)` LIBS = `$(PKGCONFIG) --libs $(DEPS)` diff --git a/po/messages.pot b/po/messages.pot index 8b30b0d..28609d4 100644 --- a/po/messages.pot +++ b/po/messages.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Badwolf 1.0.0+gfffd169.develop\n" +"Project-Id-Version: Badwolf 1.0.0+g6880bf7.develop\n" "Report-Msgid-Bugs-To: contact+badwolf-msgid@hacktivis.me\n" -"POT-Creation-Date: 2020-05-29 23:45+0200\n" +"POT-Creation-Date: 2020-05-29 23:52+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/uri.c b/uri.c index 59e50d7..912bf86 100644 --- a/uri.c +++ b/uri.c @@ -4,7 +4,8 @@ #include "uri.h" -#include /* g_strcmp0() */ +#include /* g_strcmp0(), g_uri_parse_scheme(), g_strdup_printf */ +#include /* realpath(), free() */ #include /* access() */ const gchar * -- cgit v1.3.1-23-gd82d