logo

badwolf

Minimalist and privacy-oriented WebKitGTK+ browser
commit: ed40d74fdde65134365334b8d0d2b5593c121b89
parent: 6880bf722d254d12e8236c78a7d858b9c94deee6
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 29 May 2020 23:55:25 +0200

Fix implicit-declaration for realpath

Diffstat:

MMakefile2+-
Mpo/messages.pot4++--
Muri.c3++-
3 files changed, 5 insertions(+), 4 deletions(-)

diff --git 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 @@ -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 <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/uri.c b/uri.c @@ -4,7 +4,8 @@ #include "uri.h" -#include <glib.h> /* g_strcmp0() */ +#include <glib.h> /* g_strcmp0(), g_uri_parse_scheme(), g_strdup_printf */ +#include <stdlib.h> /* realpath(), free() */ #include <unistd.h> /* access() */ const gchar *